summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Ipsum <richard.ipsum@codethink.co.uk>2014-05-13 17:56:14 +0100
committerRichard Ipsum <richard.ipsum@codethink.co.uk>2014-05-14 12:08:11 +0100
commit4d3f31dfd4e865eedbaa26c93fc1efd3afe064e3 (patch)
tree24ec1e5ac07da618f916297f46a0ff087f0719bf
parent9ea146fdcfbe9b93b297165b1b5222e1eadb9d23 (diff)
downloadmorph-4d3f31dfd4e865eedbaa26c93fc1efd3afe064e3.tar.gz
Add get_source_metadata_filename
-rw-r--r--morphlib/localartifactcache.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/morphlib/localartifactcache.py b/morphlib/localartifactcache.py
index 341bbb56..4c7f7832 100644
--- a/morphlib/localartifactcache.py
+++ b/morphlib/localartifactcache.py
@@ -1,4 +1,4 @@
-# Copyright (C) 2012,2013 Codethink Limited
+# Copyright (C) 2012, 2013, 2014 Codethink Limited
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -88,6 +88,9 @@ class LocalArtifactCache(object):
os.utime(filename, None)
return open(filename)
+ def get_source_metadata_filename(self, source, cachekey, name):
+ return self._source_metadata_filename(source, cachekey, name)
+
def get_source_metadata(self, source, cachekey, name):
filename = self._source_metadata_filename(source, cachekey, name)
os.utime(filename, None)