equal
deleted
inserted
replaced
73 curEx = dbc.fetchone()[0] |
73 curEx = dbc.fetchone()[0] |
74 dbc.close() |
74 dbc.close() |
75 if curEx == limit: |
75 if curEx == limit: |
76 errmsg = _(u"""Can't add new destination to alias »%(address)s«. |
76 errmsg = _(u"""Can't add new destination to alias »%(address)s«. |
77 Currently this alias expands into %(count)i recipients. |
77 Currently this alias expands into %(count)i recipients. |
78 One destination more will render this alias unusable. |
78 One more destination will render this alias unusable. |
79 Hint: Increase Postfix' virtual_alias_expansion_limit |
79 Hint: Increase Postfix' virtual_alias_expansion_limit |
80 """) % {'address': self._addr, 'count': curEx} |
80 """) % {'address': self._addr, 'count': curEx} |
81 raise VMMAE(errmsg, ERR.ALIAS_EXCEEDS_EXPANSION_LIMIT) |
81 raise VMMAE(errmsg, ERR.ALIAS_EXCEEDS_EXPANSION_LIMIT) |
82 |
82 |
83 def save(self, expansion_limit): |
83 def save(self, expansion_limit): |