summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoriliyan <iliyan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2008-03-07 20:43:24 +0000
committeriliyan <iliyan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2008-03-07 20:43:24 +0000
commitba191e5916221d217401878e17062d64f0285212 (patch)
tree6830df8607a4fc699a3ddbb549e75dd2f5f15514
parentfa5b415469b74cf51b6015ea91dba459f68f3d18 (diff)
downloadATCD-ba191e5916221d217401878e17062d64f0285212.tar.gz
Some more refinements
-rwxr-xr-xACE/bin/diff-builds.py12
1 files changed, 7 insertions, 5 deletions
diff --git a/ACE/bin/diff-builds.py b/ACE/bin/diff-builds.py
index f72e7e38bdf..948c7147bf4 100755
--- a/ACE/bin/diff-builds.py
+++ b/ACE/bin/diff-builds.py
@@ -29,12 +29,14 @@ class AbstractParser (HTMLParser):
iscached = True
if not access (cachepath, F_OK):
- print "(info) Create dirs=%s" % (cachepath)
+ if self.verbose_ > 2:
+ print "(info) Create dirs=%s" % (cachepath)
makedirs (cachepath)
iscached = False
if not access (c, F_OK):
- print "(info) Create cache file=%s" % (c)
+ if self.verbose_ > 2:
+ print "(info) Create cache file=%s" % (c)
open (c, 'a').close()
iscached = False
@@ -99,7 +101,7 @@ class AbstractParser (HTMLParser):
f = self.cached (url)
try:
- print "(debug) Opening %s ..." % url
+# print "(debug) Opening %s ..." % url
self.feed(f.read())
finally:
# print "(debug) Closing %s ..." % url
@@ -698,6 +700,6 @@ def testDaylyLog():
if __name__ == '__main__':
# sys.exit (sample())
-# sys.exit (main())
- pdb.run ("main()");
+ sys.exit (main())
+# pdb.run ("main()");
# pdb.run ("testDaylyLog()")