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

import oscerr in helper.py

This commit is contained in:
lethliel 2020-02-20 08:45:02 +01:00
parent 5185026084
commit 95c68dc3f0

View File

@ -3,6 +3,7 @@
# and distributed under the terms of the GNU General Public Licence,
# either version 2, or (at your option) any later version.
from osc import oscerr
def cmp_to_key(mycmp):
""" Converts a cmp= function into a key= function.