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 > Redhat > Fedora User

 
 
LinkBack Thread Tools
 
Old 06-27-2011, 12:07 PM
Vratislav Podzimek
 
Default typo fix

---
pykickstart/parser.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/pykickstart/parser.py b/pykickstart/parser.py
index 8d26d17..d1cb90f 100644
--- a/pykickstart/parser.py
+++ b/pykickstart/parser.py
@@ -133,7 +133,7 @@ def preprocessKickstart (f):
except grabber.URLGrabError, e:
raise KickstartError, formatErrorMsg(0, msg=_("Unable to open
input kickstart file: %s") % e.strerror)

- rc = _preprocessStateMachine (fh.readline)
+ rc = _preprocessStateMachine (iter(fh.readlines()))
fh.close()
return rc

--
1.7.4.4

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 06-27-2011, 02:35 PM
Chris Lumens
 
Default typo fix

> diff --git a/pykickstart/parser.py b/pykickstart/parser.py
> index 8d26d17..d1cb90f 100644
> --- a/pykickstart/parser.py
> +++ b/pykickstart/parser.py
> @@ -133,7 +133,7 @@ def preprocessKickstart (f):
> except grabber.URLGrabError, e:
> raise KickstartError, formatErrorMsg(0, msg=_("Unable to open
> input kickstart file: %s") % e.strerror)
>
> - rc = _preprocessStateMachine (fh.readline)
> + rc = _preprocessStateMachine (iter(fh.readlines()))
> fh.close()
> return rc

Oops. Applied, thanks.

- Chris

_______________________________________________
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 09:28 AM.

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