Changeset 401:15ad3c16ee11 for src/mlx/pirep.py
- Timestamp:
- 12/27/12 08:04:59 (11 years ago)
- Branch:
- default
- hg-Phase:
- (<MercurialRepository 1 'hg:/home/ivaradi/mlx/hg' '/'>, 'public')
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/mlx/pirep.py
r393 r401 1 2 from util import utf2unicode 1 3 2 4 import const … … 52 54 return pirep 53 55 except Exception, e: 54 print "Failed loading PIREP from %s: %s" % (path, str(e)) 56 print "Failed loading PIREP from %s: %s" % (path, 57 utf2unicode(str(e))) 55 58 return None 56 59 … … 157 160 return None 158 161 except Exception, e: 159 error = str(e)160 #print u"Failed saving PIREP to %s: %s" % (path, error)162 error = utf2unicode(str(e)) 163 print u"Failed saving PIREP to %s: %s" % (path, error) 161 164 return error
Note:
See TracChangeset
for help on using the changeset viewer.