diff options
author | Roman Lacko <backup.rlacko@gmail.com> | 2013-04-19 19:42:23 +0200 |
---|---|---|
committer | Roman Lacko <backup.rlacko@gmail.com> | 2013-04-19 19:42:23 +0200 |
commit | afe7a4c64cadd6f21d0a68c1cd0e482c97d66489 (patch) | |
tree | cfda91c22be2a71c50ca302fc106670cd5722bf6 /utils.py | |
parent | 8db90fa10baa264aa1b4a06695c5560119030d6f (diff) |
Fix missing WindowsError on POSIX platforms
Diffstat (limited to 'utils.py')
-rw-r--r-- | utils.py | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -7,6 +7,11 @@ import shutil import subprocess import fnmatch +try: + WindowsError +except NameError: + WindowsError = None + from distutils.spawn import spawn from distutils.spawn import DistutilsExecError |