summaryrefslogtreecommitdiff
path: root/lib/thandy/formats.py
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2008-11-16 23:47:50 +0000
committerNick Mathewson <nickm@torproject.org>2008-11-16 23:47:50 +0000
commit5825bc0d551ecf72364f8d21afbc1b20e2e00eb1 (patch)
treea24b39811cf133c579a89e180e3fca8d7231c25b /lib/thandy/formats.py
parentb63eda4396dc7b17554e657bc2eec0b0fda7bcb4 (diff)
Fix bundle download logic. Better fix needed.
git-svn-id: file:///home/or/svnrepo/updater/trunk@17299 55e972cd-5a19-0410-ae62-a4d7a52db4cd
Diffstat (limited to 'lib/thandy/formats.py')
-rw-r--r--lib/thandy/formats.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/thandy/formats.py b/lib/thandy/formats.py
index 4afbd00..ccf3517 100644
--- a/lib/thandy/formats.py
+++ b/lib/thandy/formats.py
@@ -273,7 +273,7 @@ def getFileDigest(f, digestObj=None):
"""
f_to_close = None
if isinstance(f, basestring):
- t_to_close = f = open(f, 'rb')
+ f_to_close = f = open(f, 'rb')
useTempDigestObj = (digestObj == None)
if useTempDigestObj: