Closes Issue #71

This commit is contained in:
Amr Hassan 2011-09-30 23:02:43 +02:00
parent 6508bc132a
commit 240483d72f
3 changed files with 7 additions and 3 deletions

2
.build
View file

@ -1 +1 @@
11 14

6
MANIFEST.in Executable file
View file

@ -0,0 +1,6 @@
include pylast.py
include setup.py
include README
include COPYING
include INSTALL
include .build

View file

@ -352,8 +352,6 @@ class _Network(object):
def enable_caching(self, file_path = None): def enable_caching(self, file_path = None):
"""Enables caching request-wide for all cachable calls. """Enables caching request-wide for all cachable calls.
In choosing the backend used for caching, it will try _SqliteCacheBackend first if
the module sqlite3 is present. If not, it will fallback to _ShelfCacheBackend which uses shelve.Shelf objects.
* file_path: A file path for the backend storage file. If * file_path: A file path for the backend storage file. If
None set, a temp file would probably be created, according the backend. None set, a temp file would probably be created, according the backend.