From 7f72010b604468e5c8e24deba10f5c181b72a131 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Wed, 29 Feb 2012 13:47:36 +0000 Subject: Refactor SystemBuilder and add helper class The helper class, Factory, has unit tests, which is why it's currently separate. It may later get integrated with BlobBuilder, or the other way around. Classes that don't have unit tests are marked out of coverage. --- morphlib/git.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'morphlib/git.py') diff --git a/morphlib/git.py b/morphlib/git.py index 05a55e06..950fba31 100644 --- a/morphlib/git.py +++ b/morphlib/git.py @@ -250,7 +250,7 @@ def copy_repository(treeish, destdir, msg=logging.debug): def checkout_ref(gitdir, ref, msg=logging.debug): '''Checks out a specific ref/SHA1 in a git working tree.''' ex = morphlib.execute.Execute(gitdir, msg=msg) - return ex.runv(['git', 'checkout', ref]) + ex.runv(['git', 'checkout', ref]) def set_submodule_url(gitdir, name, url, msg=logging.debug): '''Changes the URL of a submodule to point to a specific location.''' -- cgit v1.2.1