Remove the check if the output directory exists when starting lorax.

Pungi creates the output directory before invoking the buildinstall,
so we don't want to require that the directory does not exist.
This commit is contained in:
Martin Gracik 2010-02-24 18:22:44 +01:00
parent 88969ae0db
commit 8c147979ce

View File

@ -78,7 +78,6 @@ class Lorax(BaseLoraxClass):
updatesdir=updatesdir)
# create the output directory
assert not os.path.isdir(outputdir), "output directory exists"
self.outputdir = outputdir
makedirs_(self.outputdir)