mirror of
https://github.com/openSUSE/osc.git
synced 2025-08-06 15:43:39 +02:00
[python3] self[i] is now self.args[i]
This commit is contained in:
@@ -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"""
|
||||
|
Reference in New Issue
Block a user