From: Torsten Werner Date: Wed, 24 Aug 2011 18:33:44 +0000 (+0200) Subject: Remove deprecated xreadlines(). X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=306e75dcfc9a55698a703ea6f1c80b6204cc8436;p=dak.git Remove deprecated xreadlines(). Signed-off-by: Torsten Werner --- 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]