summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
Diffstat (limited to 'Lib')
-rwxr-xr-xLib/uu.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/uu.py b/Lib/uu.py
index 334d436..11a4e83 100755
--- a/Lib/uu.py
+++ b/Lib/uu.py
@@ -135,7 +135,7 @@ def decode(in_file, out_file=None, mode=None):
sys.stderr.write("Warning: %s\n" % str(v))
out_file.write(data)
s = in_file.readline()
- if not str:
+ if not s:
raise Error, 'Truncated input file'
def test():