forked from expo/troggle
let exceptions bubble up
This commit is contained in:
@@ -39,7 +39,9 @@ todo='''- Move utility function into utils.py
|
||||
'''
|
||||
|
||||
def writetrogglefile(filepath, filecontent):
|
||||
'''Set permissions to rw-rw-r-- and commit the new saved file to git'''
|
||||
'''Set permissions to rw-rw-r-- and commit the new saved file to git
|
||||
Callers should handle exception PermissionsError explicitly
|
||||
'''
|
||||
filepath = Path(filepath)
|
||||
cwd = filepath.parent
|
||||
filename = filepath.name
|
||||
|
||||
Reference in New Issue
Block a user