Move 2.0 changes collected in branches/pending back to trunk for further
[scons.git] / bin / sfsum
index a560b7dadfd3bf59b6a2335a6d6563ae8ee51955..22f43d772ed3911bc1b71d43a51a9d01f28cf0d3 100644 (file)
--- a/bin/sfsum
+++ b/bin/sfsum
@@ -25,7 +25,6 @@
 
 import xml.sax
 import xml.sax.saxutils
-import string
 import sys
 
 SFName = {
@@ -51,7 +50,7 @@ Artifacts = {}
 def nws(text):
     """Normalize white space.  This will become important if/when
     we enhance this to search for arbitrary fields."""
-    return string.join(string.split(text), ' ')
+    return ' '.join(text.split())
 
 class ClassifyArtifacts(xml.sax.saxutils.DefaultHandler):
     """