summaryrefslogtreecommitdiff
path: root/morphlib/localartifactcache.py
diff options
context:
space:
mode:
Diffstat (limited to 'morphlib/localartifactcache.py')
-rw-r--r--morphlib/localartifactcache.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/morphlib/localartifactcache.py b/morphlib/localartifactcache.py
index d8abf2ad..76d085d1 100644
--- a/morphlib/localartifactcache.py
+++ b/morphlib/localartifactcache.py
@@ -116,7 +116,7 @@ class LocalArtifactCache(object):
for basename in basenames:
os.remove(os.path.join(dirname, basename))
- def list_contents(self): # pragma: no cover
+ def list_contents(self):
'''Return the set of sources cached and related information.
returns a [(cache_key, set(artifacts), last_used)]
@@ -137,7 +137,7 @@ class LocalArtifactCache(object):
for cache_key, info in contents.iteritems())
- def remove(self, cachekey): # pragma: no cover
+ def remove(self, cachekey):
'''Remove all artifacts associated with the given cachekey.'''
for dirpath, dirnames, filenames in os.walk(self.cachedir):
for filename in filenames: