From 9a07995cc3079ca61bb7f5975f99fb28207d4ac9 Mon Sep 17 00:00:00 2001 From: Marcus Huewe Date: Thu, 23 Dec 2010 02:17:19 +0100 Subject: [PATCH] - fixed WorkingCopyInconsistent __init__ call --- osc/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osc/core.py b/osc/core.py index 77b19480..225fe7dc 100644 --- a/osc/core.py +++ b/osc/core.py @@ -433,7 +433,7 @@ class Project: msg = 'Your working copy \'%s\' is in an inconsistent 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) - raise oscerr.WorkingCopyInconsistent(self.prjname, self.name, dirty_files, msg) + raise oscerr.WorkingCopyInconsistent(self.name, None, dirty_files, msg) if getPackageList: self.pacs_available = meta_get_packagelist(self.apiurl, self.name)