mirror of
https://github.com/openSUSE/osc.git
synced 2025-09-07 13:48:43 +02:00
import oscerr in helper.py
This commit is contained in:
@@ -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.
|
||||
|
Reference in New Issue
Block a user