Parcourir la source

[1462] some style fixes, mainly removing white spaces from blank lines.

JINMEI Tatuya il y a 13 ans
Parent
commit
5656072ed8
2 fichiers modifiés avec 4 ajouts et 4 suppressions
  1. 2 2
      src/bin/xfrout/tests/xfrout_test.py.in
  2. 2 2
      src/bin/xfrout/xfrout.py.in

+ 2 - 2
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())
 

+ 2 - 2
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):