FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora User

 
 
LinkBack Thread Tools
 
Old 02-24-2010, 04:25 PM
Martin Gracik
 
Default 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 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@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 10:46 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org