VirtualMailManager/VirtualMailManager.py
changeset 156 a849843115e9
parent 155 eb866ebb9f2e
child 158 6949f6eaf26e
equal deleted inserted replaced
155:eb866ebb9f2e 156:a849843115e9
   186             (address._domainname, address._localpart)
   186             (address._domainname, address._localpart)
   187         return VirtualMailManager._exists(dbh, sql)
   187         return VirtualMailManager._exists(dbh, sql)
   188     relocatedExists = staticmethod(relocatedExists)
   188     relocatedExists = staticmethod(relocatedExists)
   189 
   189 
   190     def _readpass(self):
   190     def _readpass(self):
       
   191         # TP: Please preserve the trailing space.
   191         readp_msg0 = _(u'Enter new password: ').encode(ENCODING, 'replace')
   192         readp_msg0 = _(u'Enter new password: ').encode(ENCODING, 'replace')
       
   193         # TP: Please preserve the trailing space.
   192         readp_msg1 = _(u'Retype new password: ').encode(ENCODING, 'replace')
   194         readp_msg1 = _(u'Retype new password: ').encode(ENCODING, 'replace')
   193         mismatched = True
   195         mismatched = True
   194         while mismatched:
   196         while mismatched:
   195             clear0 = getpass(prompt=readp_msg0)
   197             clear0 = getpass(prompt=readp_msg0)
   196             clear1 = getpass(prompt=readp_msg1)
   198             clear1 = getpass(prompt=readp_msg1)