#1512 remove deprecated koji_cli.lib_unique_path
Merged 2 years ago by mikem. Opened 2 years ago by tkopecek.
tkopecek/koji issue1459  into  master

file modified
+1 -1
@@ -37,7 +37,7 @@ 

  import koji

  from koji.util import md5_constructor, to_list, base64encode

  from koji_cli.lib import _, activate_session, parse_arches, \

-         _unique_path, _running_in_bg, _progress_callback, watch_tasks, \

+         _running_in_bg, _progress_callback, watch_tasks, \

          arg_filter, linked_upload, list_task_output_all_volumes, \

          print_task_headers, print_task_recurse, download_file, watch_logs, \

          error, warn, greetings, _list_tasks, unique_path

file modified
-6
@@ -412,12 +412,6 @@ 

                        ''.join([random.choice(string.ascii_letters) for i in range(8)]))

  

  

- def _unique_path(prefix):

-     koji.util.deprecated('_unique_path is deprecated, use unique_path instead.'

-                          ' See: https://pagure.io/koji/issue/975')

-     return unique_path(prefix)

- 

- 

  def _format_size(size):

      if (size / 1073741824 >= 1):

          return "%0.2f GiB" % (size / 1073741824.0)

Commit bf357ac fixes this pull-request

Pull-Request has been merged by mikem

2 years ago

Metadata Update from @jcupova:
- Pull-request tagged with: testing-done

2 years ago