1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-11-10 06:46:15 +01:00

Enable md5 revisions in osc log

This commit is contained in:
Daniel Mach 2022-06-02 10:02:32 +02:00
parent ca9dc30643
commit cf5da11b26

View File

@ -7048,7 +7048,7 @@ Please submit there instead, or use --nodevelproject to force direct submission.
project = args[0] project = args[0]
package = args[1] package = args[1]
rev, rev_upper = parseRevisionOption(opts.revision, allow_md5=False) rev, rev_upper = parseRevisionOption(opts.revision)
if rev and not checkRevision(project, package, rev, apiurl, opts.meta): if rev and not checkRevision(project, package, rev, apiurl, opts.meta):
print('Revision \'%s\' does not exist' % rev, file=sys.stderr) print('Revision \'%s\' does not exist' % rev, file=sys.stderr)
sys.exit(1) sys.exit(1)