|
Boost-Commit : |
From: ghost_at_[hidden]
Date: 2007-09-04 16:26:19
Author: vladimir_prus
Date: 2007-09-04 16:26:19 EDT (Tue, 04 Sep 2007)
New Revision: 39120
URL: http://svn.boost.org/trac/boost/changeset/39120
Log:
Allow to print the tree delta to any file.
Text files modified:
trunk/tools/build/v2/test/tree.py | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
Modified: trunk/tools/build/v2/test/tree.py
==============================================================================
--- trunk/tools/build/v2/test/tree.py (original)
+++ trunk/tools/build/v2/test/tree.py 2007-09-04 16:26:19 EDT (Tue, 04 Sep 2007)
@@ -31,11 +31,11 @@
self.modified_files = filter(not_dir, self.modified_files)
self.touched_files = filter(not_dir, self.touched_files)
- def pprint(self):
- print "Added files :", self.added_files
- print "Removed files :", self.removed_files
- print "Modified files:", self.modified_files
- print "Touched files :", self.touched_files
+ def pprint(self, f=None):
+ print >> f, "Added files :", self.added_files
+ print >> f,"Removed files :", self.removed_files
+ print >> f, "Modified files:", self.modified_files
+ print >> f, "Touched files :", self.touched_files
def empty(self):
return (len(self.added_files) == 0 and len(self.removed_files) == 0)\
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