diff options
Diffstat (limited to 'Tools/versioncheck/pyversioncheck.py')
-rw-r--r-- | Tools/versioncheck/pyversioncheck.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/versioncheck/pyversioncheck.py b/Tools/versioncheck/pyversioncheck.py index 1446653..00ea496 100644 --- a/Tools/versioncheck/pyversioncheck.py +++ b/Tools/versioncheck/pyversioncheck.py @@ -49,7 +49,7 @@ def _check1version(package, url, version, verbose=0): print ' Checking %s'%url try: fp = urllib.urlopen(url) - except IOError, arg: + except IOError as arg: if verbose >= VERBOSE_EACHFILE: print ' Cannot open:', arg return -1, None, None |