From 4d3f31dfd4e865eedbaa26c93fc1efd3afe064e3 Mon Sep 17 00:00:00 2001 From: Richard Ipsum Date: Tue, 13 May 2014 17:56:14 +0100 Subject: Add get_source_metadata_filename --- morphlib/localartifactcache.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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) -- cgit v1.2.1