Remove get_sequence_value in 1.34
Fixes: https://pagure.io/koji/issue/3635
This commit is contained in:
parent
70eaf800a8
commit
0c00dceb07
1 changed files with 0 additions and 6 deletions
|
|
@ -1948,12 +1948,6 @@ name=build
|
|||
return ''.join(parts)
|
||||
|
||||
|
||||
def get_sequence_value(cursor, sequence):
|
||||
deprecated('Function get_sequence_value will be removed in Koji 1.34. '
|
||||
'Use nextval function from kojihub.db.py.')
|
||||
cursor.execute("""SELECT nextval(%(sequence)s)""", locals())
|
||||
return cursor.fetchone()[0]
|
||||
|
||||
# From Python Cookbook 2nd Edition, Recipe 8.6
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue