Bugfix while installing POD fields.

This commit is contained in:
Gaetan Delannay 2010-02-15 22:00:20 +01:00
parent a326f00c2f
commit 36c4ce5f77
2 changed files with 4 additions and 1 deletions

View file

@ -1,3 +1,6 @@
0.5.3 (2010-02-15)
- Improved gen/pod integration by adding a Pod field for appy.gen applications.
0.5.2 (2010-02-05)
- Performance improvements in the XML marshaller
- Added a class "appy.gen.No" allowing to explain to the end-user why he can't trigger some workflow condition.

View file

@ -246,7 +246,7 @@ class PloneInstaller:
for flavour in self.appyTool.flavours:
attrName = flavour.getAttributeName(
'podTemplate', appyClass, attrName)
fileObject = getattr(flavour.o, attrName)
fileObject = getattr(flavour, attrName)
if not fileObject or (fileObject.size == 0):
# There is no file. Put the one specified in the
# appyType.