]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
node.py: multi-class exception calls need parentheses
authorBrian Warner <warner@allmydata.com>
Fri, 1 Jun 2007 01:32:21 +0000 (18:32 -0700)
committerBrian Warner <warner@allmydata.com>
Fri, 1 Jun 2007 01:32:21 +0000 (18:32 -0700)
src/allmydata/node.py

index 58fb6a63aa7d48e7743b083ad831847838329aa1..365f94974e3fba7137d88271b9a1a3ed6090ad26 100644 (file)
@@ -43,7 +43,7 @@ class Node(service.MultiService):
         self._portnumfile = os.path.join(self.basedir, self.PORTNUMFILE)
         try:
             portnum = int(open(self._portnumfile, "rU").read())
-        except EnvironmentError, ValueError:
+        except (EnvironmentError, ValueError):
             portnum = 0
         self.tub.listenOn("tcp:%d" % portnum)
         # we must wait until our service has started before we can find out