mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-12 11:45:38 +08:00
Make submodule checks work under Python 3.
Closes gh-3385
This commit is contained in:
parent
70ca4f47e5
commit
642ef40c82
2
setup.py
2
setup.py
@ -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…
Reference in New Issue
Block a user