diff options
author | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2012-04-12 17:31:11 +0100 |
---|---|---|
committer | Lars Wirzenius <lars.wirzenius@codethink.co.uk> | 2012-04-12 17:31:11 +0100 |
commit | f474282b188524f3830acb797404978af16fda8f (patch) | |
tree | 19eae5e1218f38dbbf4e5916ee92b9e359e695df /morphlib/git.py | |
parent | f89cf55908dd3142e9249d17b5bdf1692ead4f60 (diff) | |
download | morph-f474282b188524f3830acb797404978af16fda8f.tar.gz |
Remove final use of Treeish in submodules code
Diffstat (limited to 'morphlib/git.py')
-rw-r--r-- | morphlib/git.py | 6 |
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 = [] |