mirror of
https://github.com/openSUSE/osc.git
synced 2024-11-14 16:26:13 +01:00
import oscerr in helper.py
This commit is contained in:
parent
5185026084
commit
95c68dc3f0
@ -3,6 +3,7 @@
|
|||||||
# and distributed under the terms of the GNU General Public Licence,
|
# and distributed under the terms of the GNU General Public Licence,
|
||||||
# either version 2, or (at your option) any later version.
|
# either version 2, or (at your option) any later version.
|
||||||
|
|
||||||
|
from osc import oscerr
|
||||||
|
|
||||||
def cmp_to_key(mycmp):
|
def cmp_to_key(mycmp):
|
||||||
""" Converts a cmp= function into a key= function.
|
""" Converts a cmp= function into a key= function.
|
||||||
|
Loading…
Reference in New Issue
Block a user