[Checkins] SVN: keas.build/trunk/src/keas/build/package.py fix version check after bug introduced from switching to builtin python xml processing lib.
Paul Carduner
paulcarduner at gmail.com
Fri Oct 2 20:12:24 EDT 2009
Log message for revision 104760:
fix version check after bug introduced from switching to builtin python xml processing lib.
Changed:
U keas.build/trunk/src/keas/build/package.py
-=-
Modified: keas.build/trunk/src/keas/build/package.py
===================================================================
--- keas.build/trunk/src/keas/build/package.py 2009-10-02 23:52:21 UTC (rev 104759)
+++ keas.build/trunk/src/keas/build/package.py 2009-10-03 00:12:24 UTC (rev 104760)
@@ -110,7 +110,7 @@
if not revision:
revision = 0
else:
- revision = int(revision[0])
+ revision = int(revision)
logger.debug('Revision for %s: %i' %(url, revision))
return revision
@@ -330,8 +330,10 @@
logger.info('Checking for changes since version %s; please wait...', versions[-1])
changed = self.hasChangedSince(
versions[-1], self.options.branch)
- if not changed:
- logger.info("No changes detected.")
+ if not changed:
+ logger.info("No changes detected.")
+ else:
+ logger.info("Not checking for changes since version %s because no branch was specified.", versions[-1])
# 3.2. If the branch changed and the next version should be
# suggested, let's find the next version.
if self.options.nextVersion and changed:
More information about the checkins
mailing list