bodhi/tools/client.py | 8 +-------
1 file changed, 1 insertion(+), 7 deletions(-)
New commits:
commit 3676bc978f6b30c1c29bf63f33c6a928e172c620
Author: Luke Macken <lmacken(a)redhat.com>
Date: Tue Jun 29 17:53:48 2010 -0400
Calling bodhi.util.load_config in our client breaks the logger (#303)
diff --git a/bodhi/tools/client.py b/bodhi/tools/client.py
index 2b47e3b..9598efb 100755
--- a/bodhi/tools/client.py
+++ b/bodhi/tools/client.py
@@ -29,13 +29,7 @@ from optparse import OptionParser
from fedora.client import AuthError, ServerError
from fedora.client.bodhi import BodhiClient
-try:
- from turbogears import config
- from bodhi.util import load_config
- load_config()
- BODHI_URL = config.get('bodhi_url',
'https://admin.fedoraproject.org/updates/')
-except:
- BODHI_URL = 'https://admin.fedoraproject.org/updates/'
+BODHI_URL = 'https://admin.fedoraproject.org/updates/'
log = logging.getLogger(__name__)