From 306e75dcfc9a55698a703ea6f1c80b6204cc8436 Mon Sep 17 00:00:00 2001 From: Torsten Werner Date: Wed, 24 Aug 2011 20:33:44 +0200 Subject: [PATCH] Remove deprecated xreadlines(). Signed-off-by: Torsten Werner --- daklib/dbconn.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daklib/dbconn.py b/daklib/dbconn.py index 38001492..11993119 100755 --- a/daklib/dbconn.py +++ b/daklib/dbconn.py @@ -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] -- 2.39.5