From 9bf62451b73210254cd52927640e1078b9b4e43d Mon Sep 17 00:00:00 2001 From: Jesse Keating Date: Fri, 11 Jun 2010 15:10:01 -0700 Subject: Hack to force use of the stg koji environment While we test in stg we want to use a different url. Easier to hack it here then on everybody's systems. --- src/pyfedpkg/__init__.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/pyfedpkg') diff --git a/src/pyfedpkg/__init__.py b/src/pyfedpkg/__init__.py index 26ed468..5186c87 100644 --- a/src/pyfedpkg/__init__.py +++ b/src/pyfedpkg/__init__.py @@ -538,6 +538,10 @@ class PackageModule: if config.has_section('koji'): for name, value in config.items('koji'): if defaults.has_key(name): + # HAAACK to force use of the stg environment + if value.startswith('http://koji.fedoraproject.org'): + value = value.replace('http://koji.fedoraproject.org', + 'http://koji.stg.fedoraproject.org') defaults[name] = value # Expand out the directory options for name in ('topdir', 'cert', 'ca', 'serverca'): -- cgit