summaryrefslogtreecommitdiff
path: root/morphlib/cachedir.py
Commit message (Collapse)AuthorAgeFilesLines
* python scripts: pep8ize codebaseRichard Maw2012-08-011-15/+14
| | | | | | | | | This was done with the aid of the pep8 script, available by running `easy_install pep8`. It may be worth making this part of ./check, but that will require putting pep8 into the development tools stratum. This should be easy, given pep8 has no external dependencies.
* Allow passing arguments to open() in CacheDir.openLars Wirzenius2012-03-021-2/+4
|
* Change Cachedir.open to allow dict_key instead of basename, and optional suffixLars Wirzenius2012-03-021-3/+7
|
* Create chunks, strata in cache via temporary filesLars Wirzenius2012-02-271-0/+17
| | | | | This avoids problems with files with the right names but partial content, if morph is killed in the middle of writing the file.
* Bump copyright years, get rid of long lines and unused imports.Jannis Pohlmann2012-01-231-1/+1
|
* Fix Cachedir to convert relative paths to absolute pathsRichard Maw2011-12-121-1/+1
| | | | | | | | This also required a test to be changed as it assumed that the path it created the Cachedir with was the same one it stored. It also technically makes the new test redundant as testing if dirname is equal to an absolute path also tests if it retrieves values by absolute path.
* Fix GPL version sentence grammar.Lars Wirzenius2011-10-061-1/+1
|
* Add generation of filenames in the cache directory.Lars Wirzenius2011-09-291-0/+22
|
* Add CacheDir.key method.Lars Wirzenius2011-09-291-0/+20
|
* Add trivial CacheDir.Lars Wirzenius2011-09-291-0/+22