From f474282b188524f3830acb797404978af16fda8f Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Thu, 12 Apr 2012 17:31:11 +0100 Subject: Remove final use of Treeish in submodules code --- morphlib/git.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'morphlib/git.py') 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 = [] -- cgit v1.2.1