summaryrefslogtreecommitdiffstats
path: root/Tools/versioncheck/pyversioncheck.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-12-31 15:46:20 (GMT)
committerGuido van Rossum <guido@python.org>1997-12-31 15:46:20 (GMT)
commit982209dc6920726236ec60f1fbc2e7143db0034f (patch)
tree1313fa25acb3170b6afc0abe16514f68d239afc7 /Tools/versioncheck/pyversioncheck.py
parent16c8eccfcf85811d1d9368aacb94b47ae8195719 (diff)
downloadcpython-982209dc6920726236ec60f1fbc2e7143db0034f.zip
cpython-982209dc6920726236ec60f1fbc2e7143db0034f.tar.gz
cpython-982209dc6920726236ec60f1fbc2e7143db0034f.tar.bz2
Fix bug detected by AMK: Types should be types.
Diffstat (limited to 'Tools/versioncheck/pyversioncheck.py')
-rw-r--r--Tools/versioncheck/pyversioncheck.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tools/versioncheck/pyversioncheck.py b/Tools/versioncheck/pyversioncheck.py
index 074e917..612e02f 100644
--- a/Tools/versioncheck/pyversioncheck.py
+++ b/Tools/versioncheck/pyversioncheck.py
@@ -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: