diff options
| author | Aymeric Augustin <aymeric.augustin@m4x.org> | 2012-07-20 13:42:44 +0200 |
|---|---|---|
| committer | Aymeric Augustin <aymeric.augustin@m4x.org> | 2012-07-20 13:42:44 +0200 |
| commit | 38c18f1747ef272f397e1080f04e52f27bd1bc33 (patch) | |
| tree | 65c238d0b20786f8bf9e33680a0b5611e78261e2 | |
| parent | 324d48d0a7de895aeb7397cd3365ab03ac7f6724 (diff) | |
Switched to octal notation (bis).
| -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 ecd72aad52..763a9db752 100644 --- a/django/utils/daemonize.py +++ b/django/utils/daemonize.py @@ -33,7 +33,7 @@ if os.name == 'posix': # Set custom file descriptors so that they get proper buffering. sys.stdout, sys.stderr = so, se else: - def become_daemon(our_home_dir='.', out_log=None, err_log=None, umask=022): + def become_daemon(our_home_dir='.', out_log=None, err_log=None, umask=0o022): """ If we're not running under a POSIX system, just simulate the daemon mode by doing redirections and directory changing. |
