[Checkins] SVN: Products.GenericSetup/trunk/Products/GenericSetup/tool.py - if 'dest' is None we don't reach a specific version
Yvo Schubbe
y.2008 at wcm-solutions.de
Fri Nov 28 14:33:14 EST 2008
Log message for revision 93432:
- if 'dest' is None we don't reach a specific version
Changed:
U Products.GenericSetup/trunk/Products/GenericSetup/tool.py
-=-
Modified: Products.GenericSetup/trunk/Products/GenericSetup/tool.py
===================================================================
--- Products.GenericSetup/trunk/Products/GenericSetup/tool.py 2008-11-28 18:53:55 UTC (rev 93431)
+++ Products.GenericSetup/trunk/Products/GenericSetup/tool.py 2008-11-28 19:33:14 UTC (rev 93432)
@@ -877,8 +877,9 @@
logger.log(logging.INFO, msg)
# We update the profile version to the last one we have reached
- # with runnning an upgrade step.
- self.setLastVersionForProfile(profile_id, step.dest)
+ # with running an upgrade step.
+ if step.dest is not None:
+ self.setLastVersionForProfile(profile_id, step.dest)
url = self.absolute_url()
request.RESPONSE.redirect("%s/manage_upgrades?saved=%s" % (url, profile_id))
More information about the Checkins
mailing list