Make submodule checks work under Python 3.

Closes gh-3385
Thomas Kluyver 13 years ago
parent 70ca4f47e5
commit 642ef40c82

@ -121,6 +121,8 @@ def require_clean_submodules():
after everything has been set in motion,
this is not a distutils command.
"""
# PACKAGERS: Add a return here to skip checks for git submodules
# don't do anything if nothing is actually supposed to happen
for do_nothing in ('-h', '--help', '--help-commands', 'clean', 'submodule'):
if do_nothing in sys.argv:

Loading…
Cancel
Save