From: JINMEI Tatuya Date: Fri, 30 Dec 2011 06:38:21 +0000 (-0800) Subject: [1462] some style fixes, mainly removing white spaces from blank lines. X-Git-Tag: trac2351_base~315 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5656072ed849c848ec4014d5e6deb357b9cf5dc2;p=thirdparty%2Fkea.git [1462] some style fixes, mainly removing white spaces from blank lines. --- diff --git a/src/bin/xfrout/tests/xfrout_test.py.in b/src/bin/xfrout/tests/xfrout_test.py.in index 1e07c7445a..3307436109 100644 --- a/src/bin/xfrout/tests/xfrout_test.py.in +++ b/src/bin/xfrout/tests/xfrout_test.py.in @@ -780,10 +780,10 @@ class TestXfroutSession(TestXfroutSessionBase): num_soa=2) self.assertEqual(self.xfrsess._xfrout_setup( self.getmsg(), zone_name, TEST_RRCLASS), Rcode.FORMERR()) - + # the request soa is newer than the server's current serial zone_name = Name('serial.example.com') - self.mdata = self.create_request_data(ixfr=1,zone_name=zone_name) + self.mdata = self.create_request_data(ixfr=1, zone_name=zone_name) self.assertEqual(self.xfrsess._xfrout_setup( self.getmsg(), zone_name, TEST_RRCLASS), Rcode.NOERROR()) diff --git a/src/bin/xfrout/xfrout.py.in b/src/bin/xfrout/xfrout.py.in index 127c61344d..b4e8eb2121 100755 --- a/src/bin/xfrout/xfrout.py.in +++ b/src/bin/xfrout/xfrout.py.in @@ -422,7 +422,7 @@ class XfroutSession(): format_zone_str(zone_name, zone_class), begin_serial, end_serial) return Rcode.NOERROR() - + # Set up the journal reader or fall back to AXFR-style IXFR try: code, self._jnl_reader = self._datasrc_client.get_journal_reader( @@ -450,7 +450,7 @@ class XfroutSession(): # Use the reader as the iterator to generate the response. self._iterator = self._jnl_reader - + return Rcode.NOERROR() def _xfrout_setup(self, request_msg, zone_name, zone_class):