1. Tetsuya Morimoto
  2. trac.plugins.traccron

Commits

Tetsuya Morimoto  committed efd76dd

fixed try...except syntax in 2.5

  • Participants
  • Parent commits 178a7c1
  • Branches default

Comments (0)

Files changed (1)

File src/traccron/core.py

View file
             elif parameters:
                 args = parameters
             task.wake_up(*args)
-        except Exception as e:
+        except Exception, e:
             self.env.log.error('task execution result is FAILURE, %s',
                                exception_to_unicode(e))
             self._notify_end_task(task, success=False)