On 12/23/2009 05:58 PM, Chris Lumens wrote:
@@ -305,7 +306,11 @@ def execWithCallback(command, argv, stdin = None, stdout = None,
if echo:
os.write(stdout, s)
- map(program_log.info, s.splitlines())
+ if s == '\n':
+ program_log.info(logline)
+ logline = ''
+ else:
+ logline += s;
You don't need a semicolon here.
I've spent too much time this week in C you see.
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list