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

Re: [PATCH rhel5] More robust filtering of physical volumes in autopartioning (#475271)



Radek Vykydal wrote:
Chris Lumens wrote:
I can't ever remember how python works with putting conditionals across
two lines.  You may have to make those into one.
I thought it was just parenthesis continuation, not aware of any quirks of it.


I have a hard time with this too. Statements inside parentheses can be split across lines, or you can use a backslash at the end of a line (but of course this can introduce problems if there's whitespace after the backslash).

http://docs.python.org/dev/howto/doanddont.html#using-backslash-to-continue-statements

Jeff


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