[Lorax] Remove the check if the output directory exists when starting lorax.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/src/pylorax/__init__.py b/src/pylorax/__init__.py
index c8e2691..338661d 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)
 
-- 
1.6.6

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux