From fbc541853319a26c2aaeefb6f1735fdcb3030cd9 Mon Sep 17 00:00:00 2001 From: Jonathan Davies Date: Wed, 27 May 2009 17:57:10 -0400 Subject: [PATCH] * buildd: Moved Launchpad module imports here - speed up usage parsing to improve user experience. --- buildd | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/buildd b/buildd index 85e04f6..d744804 100755 --- a/buildd +++ b/buildd @@ -30,14 +30,6 @@ from optparse import OptionGroup from optparse import OptionParser from urllib import urlencode -# ubuntu-dev-tools modules. -import ubuntutools.lp.cookie as lp_cookie -import ubuntutools.lp.functions as lp_functions -import ubuntutools.lp.urlopener as lp_urlopener -from ubuntutools import packages -# https_proxy fix -import ubuntutools.common - # Usage. usage = "%prog \n\n" usage += "Where operation may be one of: rescore, retry, or status.\n" @@ -105,6 +97,14 @@ elif op in ("retry", "rescore") and options.architecture: else: oneArch = False +# ubuntu-dev-tools modules. +import ubuntutools.lp.cookie as lp_cookie +import ubuntutools.lp.functions as lp_functions +import ubuntutools.lp.urlopener as lp_urlopener +from ubuntutools import packages +# https_proxy fix +import ubuntutools.common + # Prepare Launchpad cookie. launchpadCookie = lp_cookie.prepareLaunchpadCookie() urlopener = lp_urlopener.setupLaunchpadUrlOpener(launchpadCookie)