]> git.decadent.org.uk Git - dak.git/blobdiff - dak/clean_queues.py
Convert exception handling to Python3 syntax.
[dak.git] / dak / clean_queues.py
index 390c2551b85d02213b77bbde419bd6869d66a61c..6ade86c6a1c25e4e76a862d8b1a2f03e56072941 100755 (executable)
@@ -100,7 +100,7 @@ def init (cnf):
 
     try:
         os.chdir(incoming)
-    except OSError, e:
+    except OSError as e:
         utils.fubar("Cannot chdir to %s" % incoming)
 
 # Remove a file to the morgue