Keep going even if the disk is full. Patch by cscott.

Fix #7587
This commit is contained in:
Marco Pesenti Gritti
2008-07-25 14:07:48 +02:00
parent 71f865da3f
commit 00c8a5897b
2 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -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: