ajack 2003/11/19 12:09:44
Modified: python/gump engine.py
python/gump/output statistics.py
python/gump/utils xmlutils.py
Log:
Consistency (Failure -> Failed) not both.
Revision Changes Path
1.5 +4 -0 jakarta-gump/python/gump/engine.py
Index: engine.py
===================================================================
RCS file: /home/cvs/jakarta-gump/python/gump/engine.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- engine.py 19 Nov 2003 19:43:52 -0000 1.4
+++ engine.py 19 Nov 2003 20:09:44 -0000 1.5
@@ -108,6 +108,10 @@
if outputsOk:
project.changeState(STATE_COMPLETE,REASON_PACKAGE)
+ else
+ # Just in case it was so bad it thougt it had no
+ # jars to check
+ project.changeState(STATE_FAILED,REASON_PACKAGE_BAD)
#
# List them, why not...
1.5 +1 -1 jakarta-gump/python/gump/output/statistics.py
Index: statistics.py
===================================================================
RCS file: /home/cvs/jakarta-gump/python/gump/output/statistics.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- statistics.py 18 Nov 2003 22:52:17 -0000 1.4
+++ statistics.py 19 Nov 2003 20:09:44 -0000 1.5
@@ -129,7 +129,7 @@
self.first=self.last
elif project.isFailed():
s.failures += 1
- elif project.isPrereqFailure():
+ elif project.isPrereqFailed():
s.prereqs += 1
#
1.4 +3 -2 jakarta-gump/python/gump/utils/xmlutils.py
Index: xmlutils.py
===================================================================
RCS file: /home/cvs/jakarta-gump/python/gump/utils/xmlutils.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- xmlutils.py 19 Nov 2003 19:45:32 -0000 1.3
+++ xmlutils.py 19 Nov 2003 20:09:44 -0000 1.4
@@ -424,8 +424,9 @@
if not elements:
# use compact form for elements without children
if text.strip():
- f.write( '%s<%s>%s</%s>\n' % (indent,' '.join(attrs).encode(encoding),
- text.strip().encode(encoding),nodeName))
+ f.write( '%s<%s>%s</%s>\n' % \
+ (indent,' '.join(attrs).encode(encoding), \
+ text.strip().encode(encoding),nodeName))
else:
f.write( '%s<%s/>\n' % (indent,' '.join(attrs).encode(encoding)))
else:
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]