summaryrefslogtreecommitdiff
path: root/morphlib/git.py
diff options
context:
space:
mode:
Diffstat (limited to 'morphlib/git.py')
-rw-r--r--morphlib/git.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/morphlib/git.py b/morphlib/git.py
index a639eab5..c37fe241 100644
--- a/morphlib/git.py
+++ b/morphlib/git.py
@@ -136,9 +136,9 @@ class MissingSubmoduleCommitError(cliapp.AppException):
class Submodules(object):
- def __init__(self, treeish, msg=logging.debug):
- self.repo = treeish.repo
- self.ref = treeish.ref
+ def __init__(self, repo, ref, msg=logging.debug):
+ self.repo = repo
+ self.ref = ref
self.msg = msg
self.submodules = []