]> err.no Git - dak/commitdiff
Remove deprecated xreadlines().
authorTorsten Werner <twerner@debian.org>
Wed, 24 Aug 2011 18:33:44 +0000 (20:33 +0200)
committerTorsten Werner <twerner@debian.org>
Wed, 24 Aug 2011 18:33:44 +0000 (20:33 +0200)
Signed-off-by: Torsten Werner <twerner@debian.org>
daklib/dbconn.py

index 3800149283cec1ded120d08ffc8313eaed828f11..1199311972af74db7b43a241125402018dbecf91 100755 (executable)
@@ -1686,7 +1686,7 @@ class Keyring(object):
         key = None
         signingkey = False
 
-        for line in k.xreadlines():
+        for line in k:
             field = line.split(":")
             if field[0] == "pub":
                 key = field[4]