Fix bug detected by AMK: Types should be types.

This commit is contained in:
Guido van Rossum 1997-12-31 15:46:20 +00:00
parent 16c8eccfcf
commit 982209dc69

View file

@ -1,5 +1,5 @@
"""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: