From fb37755511421f1194f9bc646fb79088f93f38f3 Mon Sep 17 00:00:00 2001 From: clime Date: Jun 15 2019 20:25:47 +0000 Subject: right now we are simply relying in git_client that main program switches to self.path * this is relevant for rpm_package, and lookaside_cache modules too, otherwise we would need to put cwd=self.path into run methods everywhere. That's probably cleaner but also seems a bit cumbersome here. --- diff --git a/rpkglib/git_client.py b/rpkglib/git_client.py index 4f2b1d7..3964a91 100644 --- a/rpkglib/git_client.py +++ b/rpkglib/git_client.py @@ -348,7 +348,7 @@ class GitClient(object): self.tag_message(tagname, skip_edit), tagname] - run(cmd, cwd=self.path) + run(cmd) log.info('Created tag %s.', tagname) def list_tags(self, tagname=None):