Skip to content
This repository has been archived by the owner on Oct 11, 2021. It is now read-only.

Commit

Permalink
Use modern octal constant syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
markpasc committed Jan 31, 2013
1 parent f417e56 commit a005af0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion termtool.py
Expand Up @@ -119,7 +119,7 @@ def write_config_file(self, *args):
filepath = os.path.expanduser('~/.%s' % appname)

# Don't let anybody else read the config file.
os.umask(077)
os.umask(0o077)
with open(filepath, 'w') as config_file:
for arg in args:
config_file.write(arg)
Expand Down

0 comments on commit a005af0

Please sign in to comment.