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:
f3246a9
)
remove unused variable detected by pyflakes
author
Zooko O'Whielacronx
<zooko@zooko.com>
Thu, 7 Apr 2011 17:22:31 +0000
(10:22 -0700)
committer
Zooko O'Whielacronx
<zooko@zooko.com>
Thu, 7 Apr 2011 17:22:31 +0000
(10:22 -0700)
src/allmydata/__init__.py
patch
|
blob
|
history
diff --git
a/src/allmydata/__init__.py
b/src/allmydata/__init__.py
index b0e429face3b06bcc528401fa75ba7c27da7f0e9..2a5c110aebf8b3fe0e56ce4e336783017eed615d 100644
(file)
--- a/
src/allmydata/__init__.py
+++ b/
src/allmydata/__init__.py
@@
-136,7
+136,7
@@
from allmydata.util import verlib
def normalized_version(verstr, what=None):
try:
return verlib.NormalizedVersion(verlib.suggest_normalized_version(verstr))
- except (StandardError, verlib.IrrationalVersionError)
, e
:
+ except (StandardError, verlib.IrrationalVersionError):
cls, value, traceback = sys.exc_info()
raise PackagingError, ("could not parse %s due to %s: %s"
% (what or repr(verstr), cls.__name__, value)), traceback