From 8c147979ce04cebedafaf6baa9454fbddb07f71b Mon Sep 17 00:00:00 2001 From: Martin Gracik Date: Wed, 24 Feb 2010 18:22:44 +0100 Subject: [PATCH] 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. --- src/pylorax/__init__.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/pylorax/__init__.py b/src/pylorax/__init__.py index c8e26919..338661da 100644 --- a/src/pylorax/__init__.py +++ b/src/pylorax/__init__.py @@ -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)