]> git.pld-linux.org Git - projects/pld-builder.new.git/blobdiff - PLD_Builder/bqueue.py
Fix outdated syntax
[projects/pld-builder.new.git] / PLD_Builder / bqueue.py
index 4c9b687ff97881a7406417f3741e49fff420ba64..395e32fa7e0e10d44ee4da1d1e0092f91731038d 100644 (file)
@@ -3,6 +3,7 @@
 import re
 import gzip
 import time
+import sys
 if sys.version_info[0] == 2:
     import StringIO
 else:
@@ -95,7 +96,7 @@ class B_Queue:
             return
         try:
             self.requests = request.parse_requests(body)
-        except Exception, e:
+        except Exception as e:
             log.panic("error parsing %s: %s" % (self.name, e))
             pass
 
This page took 0.07558 seconds and 4 git commands to generate.