mirror of
https://github.com/openSUSE/osc.git
synced 2024-11-12 23:56: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,
|
||||
# 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.
|
||||
|
Loading…
Reference in New Issue
Block a user