Ran 2to3 over scripts directory.

This commit is contained in:
Georg Brandl 2008-05-16 15:23:30 +00:00
parent d11ae5d6ec
commit 8efadf5d66
19 changed files with 74 additions and 86 deletions

View file

@ -42,7 +42,7 @@ def get_declaration(line):
def has_correct_encoding(text, codec):
try:
unicode(text, codec)
str(text, codec)
except UnicodeDecodeError:
return False
else: