mirror of
https://github.com/openSUSE/osc.git
synced 2025-02-04 10:36:17 +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, \
|
||||
prj_dir=self.dir, expand_link=expand_link, progress_obj=self.progress_obj)
|
||||
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:
|
||||
# file/dir called pac already exists and is under version control
|
||||
msg = 'can\'t add package \'%s\': Object already exists' % pac
|
||||
|
Loading…
Reference in New Issue
Block a user