1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-02-03 18:16:17 +01:00

- oops, fixed typo

Call "update_needed" instead of "needs_update"
This commit is contained in:
Marcus Huewe 2014-10-11 13:29:47 +02:00
parent e3bb5fba23
commit 67caa8b555

View File

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