mirror of
https://github.com/openSUSE/osc.git
synced 2025-02-13 14:05:06 +01:00
- update: fixed os.path.join call
This commit is contained in:
parent
70797b5593
commit
b489f95746
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user