diff --git a/requestsync b/requestsync index ecd9068..da2de82 100755 --- a/requestsync +++ b/requestsync @@ -32,7 +32,8 @@ from debian.changelog import Version # ubuntu-dev-tools modules from ubuntutools.lp import udtexceptions -from ubuntutools.requestsync.common import * +from ubuntutools.requestsync.common import (edit_report, getDebianChangelog, + raw_input_exit_on_ctrlc) # https_proxy fix import ubuntutools.common @@ -77,8 +78,11 @@ if __name__ == '__main__': # import the needed requestsync module if options.lpapi: - from ubuntutools.requestsync.lp import * - from ubuntutools.lp.lpapicache import Distribution + from ubuntutools.requestsync.lp import (checkExistingReports, + getDebianSrcPkg, + getUbuntuSrcPkg, + needSponsorship, postBug) + from ubuntutools.lp.lpapicache import Distribution, Launchpad # See if we have LP credentials and exit if we don't - cannot continue in this case try: @@ -86,7 +90,11 @@ if __name__ == '__main__': except IOError: sys.exit(1) else: - from ubuntutools.requestsync.mail import * + from ubuntutools.requestsync.mail import (checkExistingReports, + getDebianSrcPkg, + getEmailAddress, + getUbuntuSrcPkg, + mailBug, needSponsorship) if not getEmailAddress(): sys.exit(1) diff --git a/ubuntutools/lp/lpapicache.py b/ubuntutools/lp/lpapicache.py index 5ca3fce..aad30d5 100644 --- a/ubuntutools/lp/lpapicache.py +++ b/ubuntutools/lp/lpapicache.py @@ -33,7 +33,11 @@ from lazr.restfulclient.resource import Entry import ubuntutools.lp.libsupport as libsupport from ubuntutools.lp import (service, api_version) -from ubuntutools.lp.udtexceptions import * +from ubuntutools.lp.udtexceptions import (AlreadyLoggedInError, + ArchiveNotFoundException, + PackageNotFoundException, + PocketDoesNotExistError, + SeriesNotFoundException) __all__ = [ 'Archive',