diff options
author | Marco Pesenti Gritti <marco@localhost.localdomain> | 2008-07-25 12:07:48 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <marco@localhost.localdomain> | 2008-07-25 12:07:48 (GMT) |
commit | 00c8a5897b424be1ad4a705d1e53b3fbc7f70dea (patch) | |
tree | 12785c0fabcddeac3fc2e577e89926310340c88c /src/sugar/env.py | |
parent | 71f865da3fc8e8bdaadda1722bf56c7b4ac6ab4d (diff) |
Keep going even if the disk is full. Patch by cscott.
Fix #7587
Diffstat (limited to 'src/sugar/env.py')
-rw-r--r-- | src/sugar/env.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sugar/env.py b/src/sugar/env.py index 16327fc..b9c259f 100644 --- a/src/sugar/env.py +++ b/src/sugar/env.py @@ -43,7 +43,7 @@ def get_profile_path(path=None): return base def get_logs_path(path=None): - base = get_profile_path('logs') + base = os.environ.get('SUGAR_LOGS_DIR', get_profile_path('logs')) if path != None: return os.path.join(base, path) else: |