]> git.donarmstrong.com Git - dak.git/blobdiff - dak/process_unchecked.py
* dak/edit_transitions.py: Done a number of cleanups to make code
[dak.git] / dak / process_unchecked.py
index 1e71ae00619deb83610fda4149a3683abf9a78d6..7ad64145569872fbb9eec93eda08bb7ebd98347b 100755 (executable)
@@ -1019,7 +1019,7 @@ def check_transition(sourcepkg):
     sourcecontent = sourcefile.read()
     try:
         transitions = syck.load(sourcecontent)
-    except error, msg:
+    except syck.error, msg:
         # This shouldn't happen, there is a wrapper to edit the file which checks it, but we prefer
         # to be safe than ending up rejecting everything.
         daklib.utils.warn("Not checking transitions, the transitions file is broken: %s." % (msg))