Skip to content

Commit

Permalink
minor: pep8 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Fiers committed Nov 12, 2012
1 parent 803aad8 commit 52f8e80
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions moa/plugin/system/umask.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Copyright 2009-2011 Mark Fiers
# The New Zealand Institute for Plant & Food Research
#
#
# This file is part of Moa - http://github.com/mfiers/Moa
#
#
# Licensed under the GPL license (see 'COPYING')
#
#

"""
**umaks** - Sets umaks for the moa process
Expand All @@ -14,8 +14,7 @@

from moa.sysConf import sysConf


def hook_prepare_1():
mask = int(sysConf.plugins.umask.get('umask', '0o002'), 8)
os.umask(mask)


0 comments on commit 52f8e80

Please sign in to comment.