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 -*-
#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

View File

@ -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

View File

@ -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

View File

@ -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()