summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Keating <jkeating@redhat.com>2010-06-10 11:12:46 -0700
committerJesse Keating <jkeating@redhat.com>2010-06-10 11:12:46 -0700
commit7448b219fb82d3b8189abf3ef5d301eb19b0eaa4 (patch)
tree4a1847f5c8336404d673301d70dc01ca0c98ec5a
parentb7ea96ec40e4dd4ac2bedd52b12e1176ec50c580 (diff)
downloadfedora-packager-7448b219fb82d3b8189abf3ef5d301eb19b0eaa4.tar.gz
fedora-packager-7448b219fb82d3b8189abf3ef5d301eb19b0eaa4.tar.xz
fedora-packager-7448b219fb82d3b8189abf3ef5d301eb19b0eaa4.zip
Construct the url for koji correctly
Koji expects a ? to separate the repo from the path, but this can be blank so just put it before the #hash.
-rw-r--r--src/pyfedpkg/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pyfedpkg/__init__.py b/src/pyfedpkg/__init__.py
index a90d35d..26ed468 100644
--- a/src/pyfedpkg/__init__.py
+++ b/src/pyfedpkg/__init__.py
@@ -327,7 +327,7 @@ class PackageModule:
raise FedpkgError('There are unpushed changes in your repo')
# Get the commit hash to build
commit = self.repo.commits(max_count=1)[0].id
- url = ANONGITURL % {'module': self.module} + '#%s' % commit
+ url = ANONGITURL % {'module': self.module} + '?#%s' % commit
# Check to see if the target is valid
build_target = self.kojisession.getBuildTarget(self.target)
if not build_target: