The Samba-Bugzilla – Attachment 15047 Details for
Bug 13886
Invalid python syntax when bytecompiling python files
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for dns test in python 2.6
bug13886-4-9.patch (text/plain), 1.03 KB, created by
Douglas Bagnall
on 2019-04-04 20:49:35 UTC
(
hide
)
Description:
patch for dns test in python 2.6
Filename:
MIME Type:
Creator:
Douglas Bagnall
Created:
2019-04-04 20:49:35 UTC
Size:
1.03 KB
patch
obsolete
>From 06f814b31e60189a38c3d300b64df12ce2e41026 Mon Sep 17 00:00:00 2001 >From: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> >Date: Fri, 5 Apr 2019 09:25:15 +1300 >Subject: [PATCH] pytests/dns: use 2.6 compatible syntax > >BUG: https://bugzilla.samba.org/show_bug.cgi?id=13886 >Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> >--- > python/samba/tests/dns.py | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/python/samba/tests/dns.py b/python/samba/tests/dns.py >index 515fd92a55e..1681b2580b2 100644 >--- a/python/samba/tests/dns.py >+++ b/python/samba/tests/dns.py >@@ -1181,7 +1181,7 @@ class TestZones(DNSTest): > 0x91: "MASTER_SERVERS_DA", > 0x92: "NS_SERVERS_DA", > 0x100: "NODE_DBFLAGS"} >- return {zone_prop_ids[p.id].lower(): p.data for p in props} >+ return dict((zone_prop_ids[p.id].lower(), p.data) for p in props) > > def set_aging(self, enable=False): > self.create_zone(self.zone, aging_enabled=enable) >-- >2.17.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Flags:
npower
:
review+
Actions:
View
Attachments on
bug 13886
: 15047