python3.4 cant interpolate tuples into byte strings
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
UNRELEASED Version 0.6.2
|
UNRELEASED Version 0.6.2
|
||||||
|
- Fixed python3.4 string interpolation issue
|
||||||
|
|
||||||
2017-01-27 Version 0.6.1
|
2017-01-27 Version 0.6.1
|
||||||
- Fixed python3 dns lookup issue
|
- Fixed python3 dns lookup issue
|
||||||
|
|||||||
+1
-2
@@ -810,7 +810,7 @@ class ARC(DomainSigner):
|
|||||||
arc_headers = [y for x,y in arc_headers_w_instance]
|
arc_headers = [y for x,y in arc_headers_w_instance]
|
||||||
|
|
||||||
# Compute ARC-Authentication-Results
|
# Compute ARC-Authentication-Results
|
||||||
aar_value = b"i=%d; %s" % (instance, auth_results)
|
aar_value = (b"i=%d; " % instance) + auth_results
|
||||||
if aar_value[-1] != b'\n': aar_value += b'\r\n'
|
if aar_value[-1] != b'\n': aar_value += b'\r\n'
|
||||||
|
|
||||||
new_arc_set.append(b"ARC-Authentication-Results: " + aar_value)
|
new_arc_set.append(b"ARC-Authentication-Results: " + aar_value)
|
||||||
@@ -1080,4 +1080,3 @@ def arc_verify(message, logger=None, dnsfunc=get_txt, minkey=1024):
|
|||||||
if logger is not None:
|
if logger is not None:
|
||||||
logger.error("%s" % x)
|
logger.error("%s" % x)
|
||||||
return CV_Fail, [], "%s" % x
|
return CV_Fail, [], "%s" % x
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user