Commit Graph

7 Commits

Author SHA1 Message Date
JoeLametta
8b5ce57fcd Definitive fix to getConfig
Previous commit was wrong.
2016-10-14 23:46:30 +02:00
JoeLametta
985cf2d288 Fix previous commit
Configuration file path was declared but never explicitly created (even when not available).
Should be fixed now.
2016-10-14 23:37:17 +02:00
JoeLametta
746dc6599d Issue24 (#42)
* Address issue #24
* Remove getReadCaches() & replace it with getCache()

Now whipper always follows XDG specifications. All changes were documented into the README file.

The changes introduced here aren't backward compatible so, after updating whipper, you may need to configure it again (old config file are retained, though).
2016-10-09 17:26:06 +02:00
Thomas Vander Stichele
02397302c6 catch missing save_cache_path in xdg.BaseDirectory; closes #31 2013-07-14 09:29:17 +02:00
Nicolas Cornu
d882f845ff Use os.path.join instead of hardcoded paths 2013-02-26 21:17:38 +01:00
Thomas Vander Stichele
1adc97452f Update getCache to take name. Add getReadCaches 2013-02-03 22:17:19 +01:00
Thomas Vander Stichele
daff75f47e add a Directory object to get common dirs from 2013-01-15 09:27:07 +01:00