1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-12-26 01:46:13 +01:00

- use ExtRuntimeError instead of 'sys.exit'

This commit is contained in:
Marcus Huewe 2010-08-16 16:40:16 +02:00
parent e209766084
commit be425d3261

View File

@ -1100,12 +1100,7 @@ class Package:
self.write_conflictlist()
return 'C'
else:
print >>sys.stderr, '\ndiff3 got in trouble... exit code:', ret
print >>sys.stderr, 'the command line was:'
print >>sys.stderr, merge_cmd
sys.exit(1)
raise oscerr.ExtRuntimeError('diff3 failed with exit code: %s' % ret, merge_cmd)
def update_local_filesmeta(self, revision=None):
"""