[Yum] Ooops ;)

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

 



                Hi!
                
--- clientStuff.py      4 Nov 2002 21:01:13 -0000       1.49
+++ clientStuff.py      4 Nov 2002 21:05:35 -0000
@@ -109,13 +109,8 @@
     return (epoch, version, release)
 
 def HeaderInfoNevralLoad(filename, nevral, serverid):
-    info = []
     in_file = open(filename, 'r')
-    while 1:
-        in_line = in_file.readline()
-        if in_line == '':
-            break
-        info.append(in_line)
+    info = in_file.readlines()
     in_file.close()
 
     for line in info:

-- 
		Bor.


[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux