FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CentOS > CentOS

 
 
LinkBack Thread Tools
 
Old 12-23-2009, 04:06 PM
Ales Kozumplik
 
Default fix for a bug in 05ce88b2 that split one line over several in program.log

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 == '
':
+ 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@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 01:18 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org