pyflakes fixes.
This commit is contained in:
parent
ab76cd10bd
commit
5e72ecc343
|
@ -1,6 +1,6 @@
|
|||
# -*- encoding: utf-8 -*-
|
||||
#This file is part country_zip module for Tryton.
|
||||
#The COPYRIGHT file at the top level of this repository contains
|
||||
#The COPYRIGHT file at the top level of this repository contains
|
||||
#the full copyright notices and license terms.
|
||||
|
||||
from trytond.model import fields
|
||||
|
@ -19,8 +19,8 @@ DEPENDS = ['active']
|
|||
class Address:
|
||||
"Address"
|
||||
__name__ = 'party.address'
|
||||
|
||||
zip = fields.Char('Zip', states=STATES, depends=DEPENDS,
|
||||
|
||||
zip = fields.Char('Zip', states=STATES, depends=DEPENDS,
|
||||
on_change=['zip', 'city', 'subdivision', 'country'])
|
||||
|
||||
@staticmethod
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#This file is part country_zip module for Tryton.
|
||||
#The COPYRIGHT file at the top level of this repository contains
|
||||
#The COPYRIGHT file at the top level of this repository contains
|
||||
#the full copyright notices and license terms.
|
||||
from trytond.model import fields
|
||||
from trytond.pool import PoolMeta
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# -*- encoding: utf-8 -*-
|
||||
#This file is part country_zip module for Tryton.
|
||||
#The COPYRIGHT file at the top level of this repository contains
|
||||
#The COPYRIGHT file at the top level of this repository contains
|
||||
#the full copyright notices and license terms.
|
||||
|
||||
from trytond.model import ModelView, ModelSQL, fields
|
||||
|
|
3
setup.py
3
setup.py
|
@ -1,11 +1,10 @@
|
|||
#!/usr/bin/env python
|
||||
#This file is part country_zip module for Tryton.
|
||||
#The COPYRIGHT file at the top level of this repository contains
|
||||
#The COPYRIGHT file at the top level of this repository contains
|
||||
#the full copyright notices and license terms.
|
||||
|
||||
from setuptools import setup
|
||||
import re
|
||||
import os
|
||||
import ConfigParser
|
||||
|
||||
config = ConfigParser.ConfigParser()
|
||||
|
|
Loading…
Reference in New Issue