pyflakes fixes.

This commit is contained in:
Albert Cervera i Areny 2013-04-16 23:25:30 +02:00
parent ab76cd10bd
commit 5e72ecc343
4 changed files with 6 additions and 7 deletions

View file

@ -1,6 +1,6 @@
# -*- encoding: utf-8 -*- # -*- encoding: utf-8 -*-
#This file is part country_zip module for Tryton. #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. #the full copyright notices and license terms.
from trytond.model import fields from trytond.model import fields
@ -19,8 +19,8 @@ DEPENDS = ['active']
class Address: class Address:
"Address" "Address"
__name__ = 'party.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']) on_change=['zip', 'city', 'subdivision', 'country'])
@staticmethod @staticmethod

View file

@ -1,5 +1,5 @@
#This file is part country_zip module for Tryton. #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. #the full copyright notices and license terms.
from trytond.model import fields from trytond.model import fields
from trytond.pool import PoolMeta from trytond.pool import PoolMeta

View file

@ -1,6 +1,6 @@
# -*- encoding: utf-8 -*- # -*- encoding: utf-8 -*-
#This file is part country_zip module for Tryton. #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. #the full copyright notices and license terms.
from trytond.model import ModelView, ModelSQL, fields from trytond.model import ModelView, ModelSQL, fields

View file

@ -1,11 +1,10 @@
#!/usr/bin/env python #!/usr/bin/env python
#This file is part country_zip module for Tryton. #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. #the full copyright notices and license terms.
from setuptools import setup from setuptools import setup
import re import re
import os
import ConfigParser import ConfigParser
config = ConfigParser.ConfigParser() config = ConfigParser.ConfigParser()