Fix typo in error reporting.

This commit is contained in:
Guido van Rossum 1997-05-14 21:38:03 +00:00
parent c1c96d1b5c
commit 4dfd458611
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ def strftest(now):
except ValueError, result: except ValueError, result:
if verbose: if verbose:
print "Error for nonstandard '%s' format (%s): %s" % \ print "Error for nonstandard '%s' format (%s): %s" % \
(e[0], e[2], str(error)) (e[0], e[2], str(result))
continue continue
if result == e[1]: if result == e[1]:
if verbose: if verbose: