Closed PaoloC68 closed 12 years ago
When running on python 2.5 throws the following syntax error
except Exception as ex: ^ SyntaxError: invalid syntax
which can be easily fixed by replacing the as command with a comma:
so instead:
except Exception as ex:
use
except Exception, ex:
and will be fine.
reference http://www.gossamer-threads.com/lists/python/python/785327
Sorry for the delay, but I've made the change you suggested. Thanks!
When running on python 2.5 throws the following syntax error
which can be easily fixed by replacing the as command with a comma:
so instead:
use
and will be fine.
reference http://www.gossamer-threads.com/lists/python/python/785327