#3817 Remove get_sequence_value in 1.34
Merged 11 months ago by tkopecek. Opened a year ago by jcupova.
jcupova/koji issue-3635  into  master

Remove get_sequence_value in 1.34
Jana Cupova • a year ago  
file modified
-6
@@ -1954,12 +1954,6 @@ 

      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

  

  

Metadata Update from @tkopecek:
- Pull-request tagged with: no_qe

11 months ago

Commit d3d83dd fixes this pull-request

Pull-Request has been merged by tkopecek

11 months ago
Metadata