1
0
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:
Marcus Huewe 2010-12-23 02:17:19 +01:00
parent d77f8919fe
commit 9a07995cc3

View File

@ -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)