1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-09-20 09:16:16 +02:00

- Package.commit: fixed spelling error and added FIXME comment

This commit is contained in:
Marcus Huewe 2014-02-25 14:09:04 +01:00
parent d8e0b82b10
commit d92098a864

View File

@ -1310,10 +1310,11 @@ class Package:
# information (like which service/command failed)
raise oscerr.ServiceRuntimeError('A service failed with error: %d' % r)
# FIXME: get rid of the user interaction
# check if it is a link, if so, branch the package
orgprj = self.get_local_origin_project()
if self.prjname != orgprj:
print('Currect project:', self.prjname)
print('Current project:', self.prjname)
print('Linked project:', orgprj)
repl = raw_input('The package is linked from a different project.' \
' Create a local branch before commit? (y|N) ')