Fixed inconsistent newlines
This commit is contained in:
parent
0018d4b705
commit
6d9a88f415
2 changed files with 4 additions and 0 deletions
|
@ -34,6 +34,7 @@ def main():
|
||||||
touch_config_gypi()
|
touch_config_gypi()
|
||||||
update_atom_shell()
|
update_atom_shell()
|
||||||
|
|
||||||
|
|
||||||
def parse_args():
|
def parse_args():
|
||||||
parser = argparse.ArgumentParser(description='Bootstrap this project')
|
parser = argparse.ArgumentParser(description='Bootstrap this project')
|
||||||
parser.add_argument('-u', '--url',
|
parser.add_argument('-u', '--url',
|
||||||
|
@ -47,6 +48,7 @@ def parse_args():
|
||||||
help='Prints the output of the subprocesses')
|
help='Prints the output of the subprocesses')
|
||||||
return parser.parse_args()
|
return parser.parse_args()
|
||||||
|
|
||||||
|
|
||||||
def update_submodules():
|
def update_submodules():
|
||||||
execute(['git', 'submodule', 'sync'])
|
execute(['git', 'submodule', 'sync'])
|
||||||
execute(['git', 'submodule', 'update', '--init', '--recursive'])
|
execute(['git', 'submodule', 'update', '--init', '--recursive'])
|
||||||
|
|
|
@ -19,11 +19,13 @@ def tempdir(prefix=''):
|
||||||
atexit.register(shutil.rmtree, directory)
|
atexit.register(shutil.rmtree, directory)
|
||||||
return directory
|
return directory
|
||||||
|
|
||||||
|
|
||||||
def enable_verbose_execute():
|
def enable_verbose_execute():
|
||||||
print 'Running in verbose mode'
|
print 'Running in verbose mode'
|
||||||
global verbose_mode
|
global verbose_mode
|
||||||
verbose_mode = True
|
verbose_mode = True
|
||||||
|
|
||||||
|
|
||||||
@contextlib.contextmanager
|
@contextlib.contextmanager
|
||||||
def scoped_cwd(path):
|
def scoped_cwd(path):
|
||||||
cwd = os.getcwd()
|
cwd = os.getcwd()
|
||||||
|
|
Loading…
Add table
Reference in a new issue