Projet

Général

Profil

0001-fields-do-not-repeat-condition-attribute-declaration.patch

Frédéric Péters, 06 novembre 2018 13:30

Télécharger (855 octets)

Voir les différences:

Subject: [PATCH] fields: do not repeat condition attribute declaration in page
 fields (#27738)

 wcs/fields.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
wcs/fields.py
1669 1669
                advanced=not(self.post_conditions))
1670 1670

  
1671 1671
    def get_admin_attributes(self):
1672
        return Field.get_admin_attributes(self) + ['condition', 'post_conditions']
1672
        return Field.get_admin_attributes(self) + ['post_conditions']
1673 1673

  
1674 1674
    def migrate(self):
1675 1675
        changed = super(PageField, self).migrate()
1676
-