BIND 10 trac2710, updated. 3c243b229dd01343e387ee9a729bce54711c5a50 [2710] Terminate the last line of text

BIND 10 source code commits bind10-changes at lists.isc.org
Tue Mar 12 08:36:27 UTC 2013


The branch, trac2710 has been updated
       via  3c243b229dd01343e387ee9a729bce54711c5a50 (commit)
      from  3c1fc036f79481a10628e3f841666c35a0b7b823 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 3c243b229dd01343e387ee9a729bce54711c5a50
Author: Michal 'vorner' Vaner <michal.vaner at nic.cz>
Date:   Tue Mar 12 09:29:42 2013 +0100

    [2710] Terminate the last line of text

-----------------------------------------------------------------------

Summary of changes:
 src/bin/cmdctl/tests/cmdctl_test.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-----------------------------------------------------------------------
diff --git a/src/bin/cmdctl/tests/cmdctl_test.py b/src/bin/cmdctl/tests/cmdctl_test.py
index 114df0c..8249144 100644
--- a/src/bin/cmdctl/tests/cmdctl_test.py
+++ b/src/bin/cmdctl/tests/cmdctl_test.py
@@ -99,7 +99,7 @@ class TmpTextFile:
 
     def __enter__(self):
         with open(self.__path, 'w') as f:
-            f.write("\n".join(self.__contents))
+            f.write("\n".join(self.__contents) + "\n")
 
     def __exit__(self, type, value, traceback):
         os.unlink(self.__path)



More information about the bind10-changes mailing list