From: Douglas Bagnall Date: Thu, 11 Oct 2018 01:44:49 +0000 (+1300) Subject: python/tests/dnscmd: don't use undefined name X-Git-Tag: tdb-1.3.17~1031 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f129ca9892ac8f547ecd60c0b086c925a0890d25;p=thirdparty%2Fsamba.git python/tests/dnscmd: don't use undefined name Signed-off-by: Douglas Bagnall Reviewed-by: Noel Power --- diff --git a/python/samba/tests/samba_tool/dnscmd.py b/python/samba/tests/samba_tool/dnscmd.py index 3d3d768c1d9..5e882972f46 100644 --- a/python/samba/tests/samba_tool/dnscmd.py +++ b/python/samba/tests/samba_tool/dnscmd.py @@ -815,7 +815,7 @@ class DnsCmdTestCase(SambaToolCmdTest): # assert that the record isn't spuriously tombstoned self.assertTrue('dNSTombstoned' not in records[0] or - str(record['dNSTombstoned']) == 'FALSE') + str(records[0]['dNSTombstoned']) == 'FALSE') def test_dns_wildcards(self): """