mirror of
https://github.com/openSUSE/osc.git
synced 2024-12-26 18:06:13 +01:00
- fixed WorkingCopyInconsistent __init__ call
This commit is contained in:
parent
d77f8919fe
commit
9a07995cc3
@ -433,7 +433,7 @@ class Project:
|
|||||||
msg = 'Your working copy \'%s\' is in an inconsistent state.\n' \
|
msg = 'Your working copy \'%s\' is in an inconsistent state.\n' \
|
||||||
'Please run \'osc repairwc %s\' and check the state\n' \
|
'Please run \'osc repairwc %s\' and check the state\n' \
|
||||||
'of the working copy afterwards (via \'osc status %s\')' % (self.dir, self.dir, self.dir)
|
'of the working copy afterwards (via \'osc status %s\')' % (self.dir, self.dir, self.dir)
|
||||||
raise oscerr.WorkingCopyInconsistent(self.prjname, self.name, dirty_files, msg)
|
raise oscerr.WorkingCopyInconsistent(self.name, None, dirty_files, msg)
|
||||||
|
|
||||||
if getPackageList:
|
if getPackageList:
|
||||||
self.pacs_available = meta_get_packagelist(self.apiurl, self.name)
|
self.pacs_available = meta_get_packagelist(self.apiurl, self.name)
|
||||||
|
Loading…
Reference in New Issue
Block a user