remove deprecated koji_cli.lib_unique_path

Fixes: https://pagure.io/koji/issue/1459
This commit is contained in:
Tomas Kopecek 2019-06-26 11:49:56 +02:00 committed by Mike McLean
parent d85be645be
commit 9491c078bb
2 changed files with 1 additions and 7 deletions

View file

@ -412,12 +412,6 @@ def unique_path(prefix):
''.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)