1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-02-13 22:07:18 +01:00

- update: fixed os.path.join call

This commit is contained in:
Marcus Huewe 2011-02-22 00:22:55 +01:00
parent 70797b5593
commit b489f95746

View File

@ -709,7 +709,7 @@ class Project:
pathname=getTransActPath(os.path.join(self.dir, pac)), prj_obj=self, \ pathname=getTransActPath(os.path.join(self.dir, pac)), prj_obj=self, \
prj_dir=self.dir, expand_link=expand_link, progress_obj=self.progress_obj) prj_dir=self.dir, expand_link=expand_link, progress_obj=self.progress_obj)
else: else:
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()
elif state == 'A' and pac in self.pacs_available: elif state == 'A' and pac in self.pacs_available:
# file/dir called pac already exists and is under version control # file/dir called pac already exists and is under version control
msg = 'can\'t add package \'%s\': Object already exists' % pac msg = 'can\'t add package \'%s\': Object already exists' % pac