1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-01-11 16:36:14 +01:00
This commit is contained in:
Marcus Huewe 2011-01-28 15:52:10 +01:00
parent 44fbdc69f2
commit 89ceb20abb

View File

@ -3844,8 +3844,8 @@ Please submit there instead, or use --nodevelproject to force direct submission.
buildroot = buildroot % {'project': project, 'package': package,
'repo': repo, 'arch': arch}
offset = 0
if opts.start:
offset = int(opts.start)
if opts.offset:
offset = int(opts.offset)
logfile = os.path.join(buildroot, '.build.log')
if not os.path.isfile(logfile):
raise oscerr.OscIOError(None, 'logfile \'%s\' does not exist' % logfile)