mirror of
https://github.com/openSUSE/osc.git
synced 2025-02-26 04:02:11 +01:00
[python3] self[i] is now self.args[i]
This commit is contained in:
parent
7bd9ca485d
commit
40caf1ce0a
@ -82,7 +82,7 @@ class WorkingCopyOutdated(OscBaseError):
|
|||||||
def __str__(self):
|
def __str__(self):
|
||||||
return ('Working copy \'%s\' is out of date (rev %s vs rev %s).\n'
|
return ('Working copy \'%s\' is out of date (rev %s vs rev %s).\n'
|
||||||
'Looks as if you need to update it first.' \
|
'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):
|
class PackageError(OscBaseError):
|
||||||
"""Base class for all Package related exceptions"""
|
"""Base class for all Package related exceptions"""
|
||||||
|
Loading…
x
Reference in New Issue
Block a user