Heee, shutil.copy not os.copy

This commit is contained in:
jkeating@localhost.localdomain 2006-10-23 22:18:02 -04:00 committed by Jesse Keating
parent da5de28ccd
commit 44e6b1011d
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ class Pungi:
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
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):
# for disc in seq