Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r79781 - trunk/tools/build/v2/test
From: jurko.gospodnetic_at_[hidden]
Date: 2012-07-28 05:33:04


Author: jurko
Date: 2012-07-28 05:33:03 EDT (Sat, 28 Jul 2012)
New Revision: 79781
URL: http://svn.boost.org/trac/boost/changeset/79781

Log:
Internal Boost Build testing system cleanup - minor stylistic changes.
Text files modified:
   trunk/tools/build/v2/test/BoostBuild.py | 10 +++++-----
   1 files changed, 5 insertions(+), 5 deletions(-)

Modified: trunk/tools/build/v2/test/BoostBuild.py
==============================================================================
--- trunk/tools/build/v2/test/BoostBuild.py (original)
+++ trunk/tools/build/v2/test/BoostBuild.py 2012-07-28 05:33:03 EDT (Sat, 28 Jul 2012)
@@ -540,7 +540,7 @@
     def read(self, name, binary=False):
         try:
             if self.toolset:
- name = string.replace(name, "$toolset", self.toolset+"*")
+ name = string.replace(name, "$toolset", self.toolset + "*")
             name = self.glob_file(name)
             openMode = "r"
             if binary:
@@ -778,7 +778,7 @@
 
     def expect_content(self, name, content, exact=False):
         actual = self.__read_file(name, exact)
- content = string.replace(content, "$toolset", self.toolset+"*")
+ content = string.replace(content, "$toolset", self.toolset + "*")
 
         matched = False
         if exact:
@@ -893,14 +893,14 @@
             names = [names]
         r = map(self.adjust_lib_name, names)
         r = map(self.adjust_suffix, r)
- r = map(lambda x, t=self.toolset: string.replace(x, "$toolset", t+"*"),
- r)
+ r = map(lambda x, t=self.toolset: string.replace(x, "$toolset", t + "*"
+ ), r)
         return r
 
     def native_file_name(self, name):
         name = self.adjust_names(name)[0]
         elements = string.split(name, "/")
- return os.path.normpath(apply(os.path.join, [self.workdir]+elements))
+ return os.path.normpath(apply(os.path.join, [self.workdir] + elements))
 
     def wait_for_time_change(self, original_timestamp=None):
         """


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk