Rev 5390: Remove unnecessary change. in http://bazaar.launchpad.net/~jameinel/bzr/2.3-filter-tests

John Arbash Meinel john at arbash-meinel.com
Fri Aug 27 18:37:21 BST 2010


At http://bazaar.launchpad.net/~jameinel/bzr/2.3-filter-tests

------------------------------------------------------------
revno: 5390
revision-id: john at arbash-meinel.com-20100827173647-rdsyq8ue9vctspv7
parent: john at arbash-meinel.com-20100827173259-y337khyx0mlt0vk5
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: 2.3-filter-tests
timestamp: Fri 2010-08-27 12:36:47 -0500
message:
  Remove unnecessary change.
-------------- next part --------------
=== modified file 'bzrlib/tests/__init__.py'
--- a/bzrlib/tests/__init__.py	2010-08-27 17:32:59 +0000
+++ b/bzrlib/tests/__init__.py	2010-08-27 17:36:47 +0000
@@ -817,11 +817,9 @@
         for feature in getattr(self, '_test_needs_features', []):
             self.requireFeature(feature)
         self._log_contents = None
-        def return_log():
-            return [self._get_log(keep_log_file=True)]
         self.addDetail("log", content.Content(content.ContentType("text",
             "plain", {"charset": "utf8"}),
-            return_log))
+            lambda:[self._get_log(keep_log_file=True)]))
         self._cleanEnvironment()
         self._silenceUI()
         self._startLogFile()



More information about the bazaar-commits mailing list