equal
deleted
inserted
replaced
118 dbc.close() |
118 dbc.close() |
119 if rowcount > 0: |
119 if rowcount > 0: |
120 self._dbh.commit() |
120 self._dbh.commit() |
121 else: |
121 else: |
122 if self._dest is None: |
122 if self._dest is None: |
123 msg = u"The alias »%s« doesn't exists." % self._addr |
123 msg = _(u"The alias »%s« doesn't exists.") % self._addr |
124 else: |
124 else: |
125 msg = u"The alias »%(a)s« with destination »%(d)s« doesn't\ |
125 msg = _(u"The alias »%(a)s« with destination »%(d)s« doesn't\ |
126 exists." % {'a': self._addr, 'd': self._dest} |
126 exists.") % {'a': self._addr, 'd': self._dest} |
127 raise VMMAE(_(msg), ERR.NO_SUCH_ALIAS) |
127 raise VMMAE(msg, ERR.NO_SUCH_ALIAS) |
128 |
128 |