Skip to content

Commit 7a8b965

Browse files
committed
indentation
1 parent bf2a8f8 commit 7a8b965

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

utilities/install.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ def clone(repository, folder, default_branch, cwdp='', recursive = False, destin
1616
subprocess.call(['git', 'clone', '--recursive', repository], cwd='./'+cwdp)
1717
else:
1818
if destination_folder:
19-
subprocess.call(['git', 'clone', repository, destination_folder], cwd='./'+cwdp)
19+
subprocess.call(['git', 'clone', repository, destination_folder], cwd='./'+cwdp)
2020
else:
21-
subprocess.call(['git', 'clone', repository], cwd='./'+cwdp)
21+
subprocess.call(['git', 'clone', repository], cwd='./'+cwdp)
2222
checkout(folder, default_branch, cwdp)
2323

2424
def checkout(folder, default_branch, cwdp):
@@ -29,7 +29,7 @@ def checkout(folder, default_branch, cwdp):
2929
os.chdir(newPath)
3030
python_git=subprocess.Popen("git branch -a",shell=True,stdout=subprocess.PIPE,stderr=subprocess.PIPE)
3131
outstd,errstd=python_git.communicate()
32-
if branch and branch in str(outstd) and branch!='development': # don't ckeckout development for netpyne
32+
if branch and branch in str(outstd) and branch != 'development': # don't ckeckout development for netpyne
3333
subprocess.call(['git', 'checkout', branch], cwd='./')
3434
else:
3535
subprocess.call(['git', 'checkout', default_branch], cwd='./')
@@ -54,7 +54,7 @@ def main(argv):
5454

5555
clone('https://github.com/openworm/org.geppetto.frontend.jupyter.git','org.geppetto.frontend.jupyter','development')
5656
with open('npm_frontend_jupyter_log', 'a') as stdout:
57-
subprocess.call(['npm', 'install'], cwd='./org.geppetto.frontend.jupyter/js', stdout=stdout)
57+
subprocess.call(['npm', 'install'], cwd='./org.geppetto.frontend.jupyter/js', stdout=stdout)
5858
subprocess.call(['npm', 'run', 'build-dev'], cwd='./org.geppetto.frontend.jupyter/js')
5959

6060
# We can't clone org.geppetto.frontend as a regular submodule because Travis doesn't have .gitmodules in the zip
@@ -69,7 +69,7 @@ def main(argv):
6969
# Installing and building
7070
print("NPM Install and build for Geppetto Frontend ...")
7171
with open('npm_frontend_log', 'a') as stdout:
72-
subprocess.call(['npm', 'install'], cwd='./netpyne_ui/geppetto/src/main/webapp/', stdout=stdout)
72+
subprocess.call(['npm', 'install'], cwd='./netpyne_ui/geppetto/src/main/webapp/', stdout=stdout)
7373
subprocess.call(['npm', 'run', 'build-dev-noTest'], cwd='./netpyne_ui/geppetto/src/main/webapp/')
7474

7575
print("Installing jupyter_geppetto python package ...")

0 commit comments

Comments
 (0)