Commit 982209dc authored by Guido van Rossum's avatar Guido van Rossum

Fix bug detected by AMK: Types should be types.

parent 16c8eccf
"""pyversioncheck - Module to help with checking versions"""
import Types
import types
import rfc822
import urllib
import sys
......@@ -36,7 +36,7 @@ def versioncheck(package, url, version, verbose=0):
def checkonly(package, url, version, verbose=0):
if verbose >= VERBOSE_EACHFILE:
print '%s:'%package
if type(url) == Types.StringType:
if type(url) == types.StringType:
ok, newversion, fp = _check1version(package, url, version, verbose)
else:
for u in url:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment