From b248387f325673935bba2e87361712b55c901be4 Mon Sep 17 00:00:00 2001 From: Stefano Rivera Date: Sat, 22 Jan 2011 21:21:29 +0200 Subject: [PATCH] import optparse, without from --- pull-debian-source | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pull-debian-source b/pull-debian-source index 35cabb9..8a884fb 100755 --- a/pull-debian-source +++ b/pull-debian-source @@ -16,8 +16,8 @@ # OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR # PERFORMANCE OF THIS SOFTWARE. +import optparse import sys -from optparse import OptionParser from ubuntutools.archive import DebianSourcePackage, rmadison from ubuntutools.config import UDTConfig @@ -25,7 +25,7 @@ from ubuntutools.logger import Logger def main(): usage = 'Usage: %prog [release]' - parser = OptionParser(usage) + parser = optparse.OptionParser(usage) parser.add_option('-d', '--download-only', dest='download_only', default=False, action='store_true', help='Do not extract the source package')