From 67caa8b55545d9d2c116d6cfd8a3a40a373d5011 Mon Sep 17 00:00:00 2001 From: Marcus Huewe Date: Sat, 11 Oct 2014 13:29:47 +0200 Subject: [PATCH] - oops, fixed typo Call "update_needed" instead of "needs_update" --- osc/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osc/core.py b/osc/core.py index ea2a169d..94d132d4 100644 --- a/osc/core.py +++ b/osc/core.py @@ -889,7 +889,7 @@ class Project: elif state == 'D': # pac exists (the non-existent pac case was handled in the first if block) p = Package(os.path.join(self.dir, pac), progress_obj=self.progress_obj) - if p.needs_update(sinfos[p.name]): + if p.update_needed(sinfos[p.name]): p.update() elif state == 'A' and pac in self.pacs_available: # file/dir called pac already exists and is under version control