mirror of
https://github.com/openSUSE/osc.git
synced 2025-01-14 17:46:17 +01:00
fixed two small typos
This commit is contained in:
parent
a5b0a50d28
commit
003c3dad5b
@ -1627,7 +1627,7 @@ class Osc(cmdln.Cmdln):
|
|||||||
@cmdln.option('', '--delete-old-files', action='store_true',
|
@cmdln.option('', '--delete-old-files', action='store_true',
|
||||||
help='delete existing files from the server')
|
help='delete existing files from the server')
|
||||||
@cmdln.option('-c', '--commit', action='store_true',
|
@cmdln.option('-c', '--commit', action='store_true',
|
||||||
help='do not commit the new files')
|
help='commit the new files')
|
||||||
def do_importsrcpkg(self, subcmd, opts, srpm):
|
def do_importsrcpkg(self, subcmd, opts, srpm):
|
||||||
"""${cmd_name}: import a new package from a src.rpm
|
"""${cmd_name}: import a new package from a src.rpm
|
||||||
|
|
||||||
@ -1726,7 +1726,7 @@ class Osc(cmdln.Cmdln):
|
|||||||
print 'Package \'%s\' only imported locally' % pac
|
print 'Package \'%s\' only imported locally' % pac
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
else:
|
else:
|
||||||
print >>sys.stderr, 'error - package already exists'
|
print >>sys.stderr, 'error - local package already exists'
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
print 'Package \'%s\' imported successfully' % pac
|
print 'Package \'%s\' imported successfully' % pac
|
||||||
|
Loading…
Reference in New Issue
Block a user