summaryrefslogtreecommitdiff
path: root/morphlib/plugins
diff options
context:
space:
mode:
authorLars Wirzenius <lars.wirzenius@codethink.co.uk>2013-08-08 14:59:30 +0000
committerLars Wirzenius <lars.wirzenius@codethink.co.uk>2013-08-14 16:26:31 +0000
commitb2e6814127f12fee3ce9bc5a9f40d20148353c2e (patch)
tree81df6e58979c43909746dd76d787b6b340aeb60c /morphlib/plugins
parent2d11c3d82fb869197da5ffa12635e125a380e48f (diff)
downloadmorph-b2e6814127f12fee3ce9bc5a9f40d20148353c2e.tar.gz
Remove unused argument from SystemBranchDirectory.clone_cached_repo
For some reason, there was an unused argument in the method. Remove it from the definition and all call sites.
Diffstat (limited to 'morphlib/plugins')
-rw-r--r--morphlib/plugins/branch_and_merge_new_plugin.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/morphlib/plugins/branch_and_merge_new_plugin.py b/morphlib/plugins/branch_and_merge_new_plugin.py
index e09417d2..9594d224 100644
--- a/morphlib/plugins/branch_and_merge_new_plugin.py
+++ b/morphlib/plugins/branch_and_merge_new_plugin.py
@@ -137,8 +137,7 @@ class SimpleBranchAndMergePlugin(cliapp.Plugin):
sb = morphlib.sysbranchdir.create(
root_dir, root_url, system_branch)
- gd = sb.clone_cached_repo(
- cached_repo, system_branch, system_branch)
+ gd = sb.clone_cached_repo(cached_repo, system_branch)
if not self._checkout_has_systems(gd):
raise BranchRootHasNoSystemsError(root_url, system_branch)
@@ -211,7 +210,7 @@ class SimpleBranchAndMergePlugin(cliapp.Plugin):
sb = morphlib.sysbranchdir.create(
root_dir, root_url, system_branch)
- gd = sb.clone_cached_repo(cached_repo, system_branch, base_ref)
+ gd = sb.clone_cached_repo(cached_repo, base_ref)
gd.branch(system_branch, base_ref)
gd.checkout(system_branch)