equal
deleted
inserted
replaced
208 AND domain_name.is_primary", str(self._addr)) |
208 AND domain_name.is_primary", str(self._addr)) |
209 addresses = dbc.fetchall() |
209 addresses = dbc.fetchall() |
210 dbc.close() |
210 dbc.close() |
211 aliases = [] |
211 aliases = [] |
212 if len(addresses) > 0: |
212 if len(addresses) > 0: |
213 for alias in addresses: |
213 aliases = [alias[0] for alias in addresses] |
214 aliases.append(alias[0]) |
|
215 return aliases |
214 return aliases |
216 |
215 |
217 def delete(self, delalias): |
216 def delete(self, delalias): |
218 if self._uid < 1: |
217 if self._uid < 1: |
219 raise AccE(_(u"The account ā%sā doesn't exists.") % self._addr, |
218 raise AccE(_(u"The account ā%sā doesn't exists.") % self._addr, |