mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 09:23:03 -04:00
deploy-ng: catch more egg2bam errors with Python 2.7
This commit is contained in:
parent
6b27dae24d
commit
3a2a29a1aa
2
direct/src/dist/commands.py
vendored
2
direct/src/dist/commands.py
vendored
@ -65,7 +65,7 @@ def egg2bam(_build_cmd, srcpath, dstpath):
|
||||
])
|
||||
except FileNotFoundError:
|
||||
raise RuntimeError('egg2bam failed: egg2bam was not found in the PATH')
|
||||
except subprocess.CalledProcessError as err:
|
||||
except (subprocess.CalledProcessError, OSError) as err:
|
||||
raise RuntimeError('egg2bam failed: {}'.format(err))
|
||||
return dstpath
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user