Review
- Stick to the PEP8 style guide
1 .Functions and variables should be snake_case
- Constants like
gitUrlshould beUPPER_SNAKE_CASE
- Functions and variables should be
snake_case - Constants like
gitUrlshould beUPPER_SNAKE_CASE
- There is a function for getting the current working directory
os.getcwd() Depending on your use case this might be useful
If you are using Python3.5+ you should change the older
subprocces.callwith the newersubprocess.runDon't catch bare
Exceptions
If you now what exceptions are going to be caught it is better to define them