I intended to fix this with s/basename/dirname on line 85 of
kickstart.py on master. When I was working on this feature, I spaced
out and used basename instead of dirname on that line. You got to the
bug first, but I think that's what should be done.
- Chris
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
06-14-2010, 06:10 PM
David Cantrell
Make parent directories for ks scriptlet log files (#597279)
if isinstance(stdout, str):
+ dn = os.path.dirname(os.path.realpath(stdout))
+ if not os.path.isdir(dn):
+ os.makedirs(dn)
stdout = os.open(stdout, os.O_RDWR|os.O_CREAT)
stdoutclose = lambda : os.close(stdout)
elif isinstance(stdout, int):
I intended to fix this with s/basename/dirname on line 85 of
kickstart.py on master. When I was working on this feature, I spaced
out and used basename instead of dirname on that line. You got to the
bug first, but I think that's what should be done.
Yeah, that makes more sense. Done.
--
David Cantrell <dcantrell@redhat.com>
Red Hat / Honolulu, HI
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list