On Tue, 2010-11-30 at 08:55 -0800, Brian C. Lane wrote: > On Tue, Nov 30, 2010 at 09:50:20AM +0100, Ales Kozumplik wrote: > > Hi, > > > > On 11/29/2010 07:51 PM, Brian C. Lane wrote: > > >On Mon, Nov 29, 2010 at 03:37:56PM +0100, Ales Kozumplik wrote: > > >>+ > > >>+def find_program_in_path(prog, raise_on_error=False): > > >>+ for d in os.environ["PATH"].split(":"): > > > > > >os.pathsep is the portable way to get ':' > > > > I stole the function from master. I agree that os.pathsep() and > > os.path.join() are a better solution, but I prefer having the > > branches same even more. > > I say fix them both ;) > > > > > >>+ISCSI_MODULES=['cxgb3i', 'bnx2i', 'be2iscsi'] > > >>+ > > >> def find_iscsi_files(): > > >> global ISCSID > > >> if ISCSID == "": > > >>@@ -193,6 +195,15 @@ class iscsi(object): > > >> os.makedirs(fulldir, 0755) > > >> > > > > > >And a couple more spaces. > > > > I can't see what spaces you mean. Are you talking about newline > > after ISCSI_MODULES or is your email client messing things up? In > > the web archive it looks as I intended, or are there problems still? > > https://www.redhat.com/archives/anaconda-devel-list/2010-November/msg00257.html > > Sometimes I forget that most people's editors don't show extra > whitespaces. The first one had about 8, the other two had 2 spaces all > on lines with no following content. > > Here's the vim config (from dcantrell) to show tabs as ___| and spaces > as a gray . if you're interested. > > " Hilight tabs and trailing spaces > set list listchars=tab:\|_,trail:. > highlight SpecialKey ctermfg=DarkGray > > > _______________________________________________ > Anaconda-devel-list mailing list > Anaconda-devel-list@xxxxxxxxxx > https://www.redhat.com/mailman/listinfo/anaconda-devel-list Ales is an emacs guy, so no vim help for him :) but I wonder how did you find those whitespaces in the email? In evolution, even if I select the area, it does not show any trailing whitespaces... -- Martin Gracik <mgracik@xxxxxxxxxx> _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list