workdir is defined in the parent PungiBase class

This commit is contained in:
Jesse Keating 2007-08-16 15:43:58 -04:00 committed by Jesse Keating
parent 3abfe92500
commit 7aea97468c

View File

@ -38,11 +38,6 @@ class Pungi(pypungi.PungiBase):
self.topdir = os.path.join(self.archdir, 'os')
self.isodir = os.path.join(self.archdir, self.config.get('default','isodir'))
self.workdir = os.path.join(self.config.get('default', 'destdir'),
'work',
self.config.get('default', 'flavor'),
self.config.get('default', 'arch'))
if not os.path.exists(self.workdir):
os.makedirs(self.workdir)