1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-02-25 19:52:12 +01:00

[python3] self[i] is now self.args[i]

This commit is contained in:
lethliel 2018-12-13 13:27:22 +01:00
parent 7bd9ca485d
commit 40caf1ce0a

View File

@ -82,7 +82,7 @@ class WorkingCopyOutdated(OscBaseError):
def __str__(self):
return ('Working copy \'%s\' is out of date (rev %s vs rev %s).\n'
'Looks as if you need to update it first.' \
% (self[0], self[1], self[2]))
% (self.args[0], self.args[1], self.args[2]))
class PackageError(OscBaseError):
"""Base class for all Package related exceptions"""