Changeset 1483 for lang/python/coda

Show
Ignore:
Timestamp:
11/14/07 16:41:09 (6 years ago)
Author:
nishio
Message:

/lang/python/coda: through all exception to catch it on upstream

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/python/coda/trunk/coda/get_co.py

    r209 r1483  
    77def _compile_file(f): 
    88    source = f.read() 
    9     try: 
    10         co = compile(source, f.name, "exec") 
    11     except Exception, e: 
    12         print e 
    13         return (lambda :0).func_code 
     9    co = compile(source, f.name, "exec") 
    1410    return co 
    1511