Changeset 7012


Ignore:
Timestamp:
Mar 13, 2018, 2:35:11 PM (3 years ago)
Author:
Juanma
Message:

show server field when login fails with unknown host

Location:
n4dgtklogin/trunk/fuentes
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • n4dgtklogin/trunk/fuentes/debian/changelog

    r7011 r7012  
     1python-n4dgtklogin (0.4.3.1) xenial; urgency=medium
     2
     3  * Added "server" to unknown host message
     4
     5 -- Juanma Navarro Mañez <juanma1980@gmail.com>  Tue, 13 Mar 2018 14:34:44 +0100
     6
    17python-n4dgtklogin (0.4.3) xenial; urgency=medium
    28
  • n4dgtklogin/trunk/fuentes/python-n4dgtklogin.install/edupals/ui/n4dgtklogin.py

    r7011 r7012  
    307307                                ret=self.n4dclient.validate_user(user,pwd)
    308308                        except socket.error as e:
    309                                 self.lbl_error.set_text(_("Unknown host %s"%server))
     309                                self.lbl_error.set_text(_("Unknown host")+' '+str(server))
    310310                                ret=[False,str(e)]
    311311
  • n4dgtklogin/trunk/fuentes/python3-n4dgtklogin.install/edupals/ui/n4dgtklogin.py

    r7011 r7012  
    308308                                ret=self.n4dclient.validate_user(user,pwd)
    309309                        except socket.error as e:
    310                                 self.lbl_error.set_text(_("Unknown host"))
     310                                self.lbl_error.set_text(_("Unknown host")+' '+str(server))
    311311                                ret=[False,str(e)]
    312312
Note: See TracChangeset for help on using the changeset viewer.