diff options
| author | Aymeric Augustin <aymeric.augustin@m4x.org> | 2012-07-20 13:28:36 +0200 |
|---|---|---|
| committer | Aymeric Augustin <aymeric.augustin@m4x.org> | 2012-07-20 13:28:36 +0200 |
| commit | 324d48d0a7de895aeb7397cd3365ab03ac7f6724 (patch) | |
| tree | 80f4bac8b5d92fe7d8d3cba805ffc5bae509f456 /django/utils | |
| parent | 85cd458944c16769a707921619e94ccc3dfbf7bd (diff) | |
Switched to Python 3-compatible octal notation.
Diffstat (limited to 'django/utils')
| -rw-r--r-- | django/utils/daemonize.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/utils/daemonize.py b/django/utils/daemonize.py index a9d5128b33..ecd72aad52 100644 --- a/django/utils/daemonize.py +++ b/django/utils/daemonize.py @@ -3,7 +3,7 @@ import sys if os.name == 'posix': def become_daemon(our_home_dir='.', out_log='/dev/null', - err_log='/dev/null', umask=022): + err_log='/dev/null', umask=0o022): "Robustly turn into a UNIX daemon, running in our_home_dir." # First fork try: |
