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