mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-03-12 23:51:08 +00:00
import optparse, without from
This commit is contained in:
parent
eeb8efc0b1
commit
b248387f32
@ -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 <package> [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')
|
||||
|
Loading…
x
Reference in New Issue
Block a user