Commit edb6cc58 authored by Mukund Sivaraman's avatar Mukund Sivaraman Committed by Naoki Kambe
Browse files

[2136] Re-indent code

parent 30bbd3eb
......@@ -196,7 +196,8 @@ class Stats:
sequences = []
for (module_name, data) in self.get_statistics_data().items():
# skip if module_name is 'Stats'
if module_name == self.module_name: continue
if module_name == self.module_name:
continue
logger.debug(DBG_STATS_MESSAGING, STATS_SEND_STATISTICS_REQUEST,
module_name)
cmd = isc.config.ccsession.create_command(
......
......@@ -398,8 +398,8 @@ class MockAuth:
def command_handler(self, command, *args, **kwargs):
self.got_command_name = command
sdata = { 'queries.tcp': self.queries_tcp,
'queries.udp': self.queries_udp,
'queries.perzone' : self.queries_per_zone }
'queries.udp': self.queries_udp,
'queries.perzone' : self.queries_per_zone }
if command == 'getstats':
return isc.config.create_answer(0, sdata)
return isc.config.create_answer(1, "Unknown Command")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment