Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
self.assertTrue("testrecord" in out and record_str in out,
"Query for a record which had DNS_RANK_NONE"
"succeeded but produced no resulting records.")
- except AssertionError as e:
+ except AssertionError:
# Windows produces no resulting records
pass
'-H', self.dburl,
'-S',
opt)
- except SystemExit as e:
+ except SystemExit:
# optparse makes us do this
self.fail(f"optparse rejects {env}, {opt}, {is_colour}")