gui/resource.py
def convert(self, name):
        "translate gui2py attribute name from pythoncard legacy code"
        new_name = PYTHONCARD_PROPERTY_MAP.get(name)
        if new_name:
            print "WARNING: property %s should be %s (%s)" % (name, new_name, self.obj.name)
            return new_name
        else:
            return name
def convert(self, name):
        "translate gui2py attribute name from pythoncard legacy code"
        new_name = PYTHONCARD_PROPERTY_MAP.get(name)
        if new_name:
            print "WARNING: property %s should be %s (%s)" % (name, new_name, self.obj.name)
            return new_name
        else:
            return name
def convert ( self , name ) : new_name = PYTHONCARD_PROPERTY_MAP . get ( name ) if new_name : print "WARNING: property %s should be %s (%s)" % ( name , new_name , self . obj . name ) return new_name else : return name
translate gui2py attribute name from pythoncard legacy code
translate gui2py attribute name from pythoncard legacy code