Heee, shutil.copy not os.copy
This commit is contained in:
parent
da5de28ccd
commit
44e6b1011d
2
pungi.py
2
pungi.py
@ -22,7 +22,7 @@ class Pungi:
|
|||||||
self.prodpath = 'Fedora' # Probably should be defined elsewhere
|
self.prodpath = 'Fedora' # Probably should be defined elsewhere
|
||||||
self.basedir = os.path.join(self.opts.destdir, self.opts.arch, self.prodpath, 'base') # Probably should be defined elsewhere
|
self.basedir = os.path.join(self.opts.destdir, self.opts.arch, self.prodpath, 'base') # Probably should be defined elsewhere
|
||||||
os.mkdir(self.basedir)
|
os.mkdir(self.basedir)
|
||||||
os.copy(self.opts.comps, os.path.join(self.basedir, 'comps.xml'))
|
shutil.copy(self.opts.comps, os.path.join(self.basedir, 'comps.xml'))
|
||||||
|
|
||||||
# def doCreateSplitrepo(self):
|
# def doCreateSplitrepo(self):
|
||||||
# for disc in seq
|
# for disc in seq
|
||||||
|
Loading…
Reference in New Issue
Block a user