projects
/
tahoe-lafs
/
tahoe-lafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7124f94
)
node.py: multi-class exception calls need parentheses
author
Brian Warner
<warner@allmydata.com>
Fri, 1 Jun 2007 01:32:21 +0000
(18:32 -0700)
committer
Brian Warner
<warner@allmydata.com>
Fri, 1 Jun 2007 01:32:21 +0000
(18:32 -0700)
src/allmydata/node.py
patch
|
blob
|
history
diff --git
a/src/allmydata/node.py
b/src/allmydata/node.py
index 58fb6a63aa7d48e7743b083ad831847838329aa1..365f94974e3fba7137d88271b9a1a3ed6090ad26 100644
(file)
--- a/
src/allmydata/node.py
+++ b/
src/allmydata/node.py
@@
-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