Fix pep8 and pyflakes

This commit is contained in:
Cédric Krier committed 2012-04-03 20:06:24 +02:00
1 parent 500f270e54
commit 89d7f2d0c1
3 files changed
+16 -14

No files matched your search

+11 -11
View File
@@ -1,15 +1,15 @@
#This file is part of Tryton. The COPYRIGHT file at the top level of
#this repository contains the full copyright notices and license terms.
{
"name" : "Account Invoice Line Standalone",
"name_bg_BG" : "Ред от независима фактура към сметка",
"name_ca_ES" : "Línia de factura independent",
"name_de_DE" : "Fakturierung ungebundene Rechnungsposition",
"name_es_CO" : "Línea de factura autónoma",
"name_es_ES" : "Línea de factura independiente",
"name_fr_FR" : "Ligne de facture autonome",
"version" : "2.3.0",
"author" : "B2CK",
"name": "Account Invoice Line Standalone",
"name_bg_BG": "Ред от независима фактура към сметка",
"name_ca_ES": "Línia de factura independent",
"name_de_DE": "Fakturierung ungebundene Rechnungsposition",
"name_es_CO": "Línea de factura autónoma",
"name_es_ES": "Línea de factura independiente",
"name_fr_FR": "Ligne de facture autonome",
"version": "2.3.0",
"author": "B2CK",
'email': 'info@b2ck.com',
'website': 'http://www.tryton.org/',
"description": '''Allow to create standalone invoice lines and add them later to a draft
@@ -41,11 +41,11 @@ con el mismo tipo, empresa, divisa y tercero.
ensuite à des factures dans l'état brouillon. La facture n'acceptera
que des lignes qui ont les même type, société, devis et tiers.
''',
"depends" : [
"depends": [
"ir",
"account_invoice",
],
"xml" : [
"xml": [
"invoice.xml",
],
'translation': [
+2 -2
View File
@@ -33,8 +33,8 @@ setup(name='trytond_account_invoice_line_standalone',
'trytond.modules.account_invoice_line_standalone.tests',
],
package_data={
'trytond.modules.account_invoice_line_standalone': info.get('xml', []) \
+ info.get('translation', []),
'trytond.modules.account_invoice_line_standalone': \
info.get('xml', []) + info.get('translation', []),
},
classifiers=[
'Development Status :: 5 - Production/Stable',
@@ -2,7 +2,8 @@
#This file is part of Tryton. The COPYRIGHT file at the top level of
#this repository contains the full copyright notices and license terms.
import sys, os
import sys
import os
DIR = os.path.abspath(os.path.normpath(os.path.join(__file__,
'..', '..', '..', '..', '..', 'trytond')))
if os.path.isdir(DIR):
@@ -34,6 +35,7 @@ class AccountInvoiceLineStandaloneTestCase(unittest.TestCase):
'''
test_depends()
def suite():
suite = trytond.tests.test_tryton.suite()
suite.addTests(unittest.TestLoader().loadTestsFromTestCase(