Fixed a Python 2.5 incompatibility introduced by r6f106cb9f5c9d2ea933dda68481220c85c5... master
authorThomas Nagy <tnagy2pow10@gmail.com>
Wed, 25 Feb 2015 08:47:24 +0000 (09:47 +0100)
committerThomas Nagy <tnagy2pow10@gmail.com>
Wed, 25 Feb 2015 08:47:24 +0000 (09:47 +0100)
wafadmin/Utils.py

index 31fb5c4..cff6719 100644 (file)
@@ -421,7 +421,7 @@ def check_dir(path):
        if not os.path.isdir(path):
                try:
                        os.makedirs(path)
-               except OSError as e:
+               except OSError, e:
                        if not os.path.isdir(path):
                                raise Errors.WafError('Cannot create the folder %r' % path, ex=e)