diff --git a/koji/__init__.py b/koji/__init__.py index 345aa3e1..c9a657eb 100644 --- a/koji/__init__.py +++ b/koji/__init__.py @@ -2456,6 +2456,9 @@ class PathInfo(object): def tmpdir(self, volume=None): """Return a path to a unique directory under work()/tmp/""" + deprecated( + 'PathInfo.tmpdir() is deprecated and will be removed in a future version of Koji') + # this function has never really been used in koji tmp = None while tmp is None or os.path.exists(tmp): tmp = self.work(volume) + '/tmp/' + ''.join([random.choice(self.ASCII_CHARS)