Blame SOURCES/float_none_comparison_fix.patch

0995d9
diff --git a/dns/query.py b/dns/query.py
0995d9
index bfecd43..19b9fbb 100644
0995d9
--- a/dns/query.py
0995d9
+++ b/dns/query.py
0995d9
@@ -467,7 +467,8 @@ def xfr(where, zone, rdtype=dns.rdatatype.AXFR, rdclass=dns.rdataclass.IN,
0995d9
     first = True
0995d9
     while not done:
0995d9
         mexpiration = _compute_expiration(timeout)
0995d9
-        if mexpiration is None or mexpiration > expiration:
0995d9
+        if mexpiration is None or \
0995d9
+           (expiration is not None and mexpiration > expiration):
0995d9
             mexpiration = expiration
0995d9
         if use_udp:
0995d9
             _wait_for_readable(s, expiration)