Ticket #5002: spread.patch

File spread.patch, 841 bytes (added by Juan A. Diaz, 8 years ago)

patch

  • twisted/spread/ui/tkutil.py

    diff --git a/twisted/spread/ui/tkutil.py b/twisted/spread/ui/tkutil.py
    index 2aee67d..3b4f07f 100644
    a b from twisted.spread import pb 
    1111from twisted.internet import reactor
    1212from twisted import copyright
    1313
    14 import string
    15 
    1614#normalFont = Font("-adobe-courier-medium-r-normal-*-*-120-*-*-m-*-iso8859-1")
    1715#boldFont = Font("-adobe-courier-bold-r-normal-*-*-120-*-*-m-*-iso8859-1")
    1816#errorFont = Font("-adobe-courier-medium-o-normal-*-*-120-*-*-m-*-iso8859-1")
    class GenericLogin(Toplevel): 
    308306    def doLogin(self):
    309307        values={}
    310308        for k in self.entries.keys():
    311             values[string.lower(k)]=self.entries[k].get()
     309            values[k.lower()]=self.entries[k].get()
    312310        self.callback(values)
    313311        self.destroy()
    314312