[kickstart] typo fix

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

 



---
 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


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux