diff --git a/osc/core.py b/osc/core.py index 8d0c7cfe..c0cc0cda 100644 --- a/osc/core.py +++ b/osc/core.py @@ -651,7 +651,7 @@ class Project: def update(self, pacs = (), expand_link=False, unexpand_link=False, service_files=False): if len(pacs): for pac in pacs: - Package(os.path.join(self.dir, pac, progress_obj=self.progress_obj)).update() + Package(os.path.join(self.dir, pac), progress_obj=self.progress_obj).update() else: # we need to make sure that the _packages file will be written (even if an exception # occurs)