Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r79739 - trunk/tools/build/v2/test
From: jurko.gospodnetic_at_[hidden]
Date: 2012-07-25 03:25:13


Author: jurko
Date: 2012-07-25 03:25:12 EDT (Wed, 25 Jul 2012)
New Revision: 79739
URL: http://svn.boost.org/trac/boost/changeset/79739

Log:
Boost Build cleanup - minor stylistic changes.
Text files modified:
   trunk/tools/build/v2/test/rebuilds.py | 3 ++-
   trunk/tools/build/v2/test/svn_tree.py | 12 ++++++------
   trunk/tools/build/v2/test/tree.py | 3 ++-
   3 files changed, 10 insertions(+), 8 deletions(-)

Modified: trunk/tools/build/v2/test/rebuilds.py
==============================================================================
--- trunk/tools/build/v2/test/rebuilds.py (original)
+++ trunk/tools/build/v2/test/rebuilds.py 2012-07-25 03:25:12 EDT (Wed, 25 Jul 2012)
@@ -2,7 +2,8 @@
 
 # Copyright 2005 Dave Abrahams
 # Distributed under the Boost Software License, Version 1.0.
-# (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)
+# (See accompanying file LICENSE_1_0.txt or copy at
+# http://www.boost.org/LICENSE_1_0.txt)
 
 import BoostBuild
 

Modified: trunk/tools/build/v2/test/svn_tree.py
==============================================================================
--- trunk/tools/build/v2/test/svn_tree.py (original)
+++ trunk/tools/build/v2/test/svn_tree.py 2012-07-25 03:25:12 EDT (Wed, 25 Jul 2012)
@@ -149,10 +149,10 @@
         break
     if child_already_exists == 0:
       self.children.append(newchild)
- newchild.path = os.path.join (self.path, newchild.name)
+ newchild.path = os.path.join (self.path, newchild.name)
 
     # If you already have the node,
- else:
+ else:
       if newchild.children is None:
         # this is the 'end' of the chain, so copy any content here.
         a.contents = newchild.contents
@@ -561,7 +561,7 @@
 
   root = SVNTreeNode(root_node_name)
   rm = re.compile ('^([MAGCUD_ ][MAGCUD_ ]) (.+)')
-
+
   for line in lines:
     match = rm.search(line)
     if match and match.groups():
@@ -583,7 +583,7 @@
   root = SVNTreeNode(root_node_name)
   rm1 = re.compile ('^(\w+)\s+(.+)')
   rm2 = re.compile ('^Transmitting')
-
+
   for line in lines:
     match = rm2.search(line)
     if not match:
@@ -602,7 +602,7 @@
 #
 # 'status', 'wc_rev', 'repos_rev'
 # ... and possibly 'locked', 'copied', IFF columns non-empty.
-#
+#
 
 def build_tree_from_status(lines):
   "Return a tree derived by parsing the output LINES from 'st'."
@@ -615,7 +615,7 @@
     repos_rev = match.group(1)
   else:
     repos_rev = '?'
-
+
   # Try http://www.wordsmith.org/anagram/anagram.cgi?anagram=ACDRMGU
   rm = re.compile ('^([MACDRUG_ ][MACDRUG_ ])(.)(.) . [^0-9-]+(\d+|-)(.{23})(.+)')
   for line in lines:

Modified: trunk/tools/build/v2/test/tree.py
==============================================================================
--- trunk/tools/build/v2/test/tree.py (original)
+++ trunk/tools/build/v2/test/tree.py 2012-07-25 03:25:12 EDT (Wed, 25 Jul 2012)
@@ -1,7 +1,8 @@
 # Copyright 2003 Dave Abrahams
 # Copyright 2001, 2002 Vladimir Prus
 # Distributed under the Boost Software License, Version 1.0.
-# (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)
+# (See accompanying file LICENSE_1_0.txt or copy at
+# http://www.boost.org/LICENSE_1_0.txt)
 
 # This file is based in part on the content of svn_tree.py.
 


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