summaryrefslogtreecommitdiff
path: root/morphlib/cachedrepo.py
diff options
context:
space:
mode:
Diffstat (limited to 'morphlib/cachedrepo.py')
-rw-r--r--morphlib/cachedrepo.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/morphlib/cachedrepo.py b/morphlib/cachedrepo.py
index 37c53c7b..5dc7e55d 100644
--- a/morphlib/cachedrepo.py
+++ b/morphlib/cachedrepo.py
@@ -74,9 +74,10 @@ class CachedRepo(object):
'''
- def __init__(self, url, path):
- '''Creates a new CachedRepo for a given repo URL and local path.'''
+ def __init__(self, original_name, url, path):
+ '''Creates a new CachedRepo for a repo name, URL and local path.'''
+ self.original_name = original_name
self.url = url
self.path = path
self.ex = morphlib.execute.Execute(self.path, logging.debug)