Re: problem with check-repository.py

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

 



> Julio Rodanés -KNET wrote:
> 
> I want to create a custom distribution of Red Hat 7.3.
> When I run check-repository.py /redhat/i386/, the command line show
> these errors:

[...]

>   File "/usr/lib/anaconda/log.py", line 39, in __call__
>     raise RuntimeError, "log file not open yet"
> RuntimeError: log file not open yet

as you can see in /usr/lib/anaconda/comps.py, log.open() is never
called. a quick fix would be to replace:

def __init__ (self):
	self.logFile = None

by:

def __init__ (self):
	self.logFile = sys.stderr

in /usr/lib/anaconda/log.py

-- 
Alain





[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