Repository : http://git.fedorahosted.org/cgit/copr.git
On branch : master
>---------------------------------------------------------------
commit ca05d758b76cd899afee7675afd935eba4717702
Author: Seth Vidal <skvidal(a)fedoraproject.org>
Date: Thu Jan 31 23:20:23 2013 -0500
when you want to have more than one item in a list,
good idea to separate them with commas
>---------------------------------------------------------------
backend/mockremote.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/backend/mockremote.py b/backend/mockremote.py
index 94cb56e..308c21a 100755
--- a/backend/mockremote.py
+++ b/backend/mockremote.py
@@ -511,7 +511,7 @@ class MockRemote(object):
self.callback.log("Success building %s" % os.path.basename(pkg))
built_pkgs.append(pkg)
# createrepo with the new pkgs
- for d in [self.destdir + self.destdir + '/' + self.chroot]:
+ for d in [self.destdir, self.destdir + '/' + self.chroot]:
rc, out, err = createrepo(d)
if err.strip():
self.callback.error("Error making local repo: %s" % d)
Repository : http://git.fedorahosted.org/cgit/copr.git
On branch : master
>---------------------------------------------------------------
commit 7f513fd1691b5a63bcefdd1a638a710868256521
Author: Seth Vidal <skvidal(a)fedoraproject.org>
Date: Thu Jan 31 19:34:48 2013 -0500
typo - need to run pyflakes before I commit more :)
>---------------------------------------------------------------
backend/mockremote.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/backend/mockremote.py b/backend/mockremote.py
index 4c52a87..94cb56e 100755
--- a/backend/mockremote.py
+++ b/backend/mockremote.py
@@ -511,7 +511,7 @@ class MockRemote(object):
self.callback.log("Success building %s" % os.path.basename(pkg))
built_pkgs.append(pkg)
# createrepo with the new pkgs
- for d in [self.destdir + self.destdir + '/' + self.chroot]
+ for d in [self.destdir + self.destdir + '/' + self.chroot]:
rc, out, err = createrepo(d)
if err.strip():
self.callback.error("Error making local repo: %s" % d)