zeitgeist team mailing list archive
-
zeitgeist team
-
Mailing list archive
-
Message #02569
[Merge] lp:~manishsinha/zeitgeist/fix-686674-xdg-cache-dir-missing into lp:zeitgeist
Manish Sinha has proposed merging lp:~manishsinha/zeitgeist/fix-686674-xdg-cache-dir-missing into lp:zeitgeist.
Requested reviews:
Zeitgeist Framework Team (zeitgeist)
Related bugs:
#686674 zeitgeist crashes in case of non existing .cache folder (KDE)
https://bugs.launchpad.net/bugs/686674
Fixed bug #686674 $XDG_CACHE_DIR is not present
--
https://code.launchpad.net/~manishsinha/zeitgeist/fix-686674-xdg-cache-dir-missing/+merge/42985
Your team Zeitgeist Framework Team is requested to review the proposed merge of lp:~manishsinha/zeitgeist/fix-686674-xdg-cache-dir-missing into lp:zeitgeist.
=== modified file 'zeitgeist-daemon.py'
--- zeitgeist-daemon.py 2010-12-04 17:49:33 +0000
+++ zeitgeist-daemon.py 2010-12-07 18:22:33 +0000
@@ -138,6 +138,8 @@
log_file = os.environ["ZEITGEIST_LOG_FILE"]
except KeyError:
log_file = constants.DEFAULT_LOG_PATH
+ if not os.path.exists(BaseDirectory.xdg_cache_home):
+ os.mkdir(BaseDirectory.xdg_cache_home)
if not os.path.exists(os.path.dirname(log_file)):
os.mkdir(os.path.dirname(log_file))
try: