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:
parent
e3bb5fba23
commit
67caa8b555
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user