Merge pull request #1459 from clinton-hall/hotfix/gitless

Hotfix/gitless
This commit is contained in:
Labrys of Knossos 2018-12-26 20:44:19 -05:00 committed by GitHub
commit 366197a3ce
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -53,6 +53,8 @@ def clean_bytecode():
print(result)
except subprocess.CalledProcessError as error:
sys.exit('Error Code: {}'.format(error.returncode))
except OSError as error:
sys.exit('Error: {}'.format(error))
else:
return result
@ -68,6 +70,8 @@ def clean_folders(*paths):
)
except subprocess.CalledProcessError as error:
sys.exit('Error Code: {}'.format(error.returncode))
except OSError as error:
sys.exit('Error: {}'.format(error))
else:
return result