Rev 3618: use the right notation for pathjoin. in http://bzr.arbash-meinel.com/branches/bzr/1.7-dev/base_test_path

John Arbash Meinel john at arbash-meinel.com
Thu Aug 14 17:59:33 BST 2008


At http://bzr.arbash-meinel.com/branches/bzr/1.7-dev/base_test_path

------------------------------------------------------------
revno: 3618
revision-id: john at arbash-meinel.com-20080814165925-tg8kwwp6vagaq7tv
parent: adrian.wilkins at gmail.com-20080808083626-b5s7pwjxhtpsdgnr
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: base_test_path
timestamp: Thu 2008-08-14 11:59:25 -0500
message:
  use the right notation for pathjoin.
-------------- next part --------------
=== modified file 'bzrlib/tests/__init__.py'
--- a/bzrlib/tests/__init__.py	2008-08-08 08:36:26 +0000
+++ b/bzrlib/tests/__init__.py	2008-08-14 16:59:25 +0000
@@ -2063,7 +2063,7 @@
         For TestCaseInTempDir we create a temporary directory based on the test
         name and then create two subdirs - test and home under it.
         """
-        name_prefix = osutils.pathjoin([self.TEST_ROOT, self._getTestDirPrefix()])
+        name_prefix = osutils.pathjoin(self.TEST_ROOT, self._getTestDirPrefix())
         name = name_prefix
         for i in range(100):
             if os.path.exists(name):



More information about the bazaar-commits mailing list