Fix pep8 and pyflakes
This commit is contained in:
+6
-6
@@ -1,31 +1,31 @@
|
||||
#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' : 'Google Maps',
|
||||
'name': 'Google Maps',
|
||||
'name_bg_BG': 'Google карти',
|
||||
'name_ca_ES': 'Mapes de Google',
|
||||
'name_de_DE': 'Google Maps',
|
||||
'name_es_CO': 'Mapas de Google',
|
||||
'name_es_ES': 'Mapas de Google',
|
||||
'name_fr_FR': 'Cartes Google',
|
||||
'version' : '2.3.0',
|
||||
'author' : 'B2CK',
|
||||
'version': '2.3.0',
|
||||
'author': 'B2CK',
|
||||
'email': 'info@b2ck.com',
|
||||
'website': 'http://www.tryton.org/',
|
||||
'description': 'Add link from addresses to Google Maps',
|
||||
'description_bg_BG': 'Добавя връзка към адрес от Google карти.',
|
||||
'description_ca_ES': '''Afegeix un enllaç en les adreces per obrir-les amb
|
||||
'description_ca_ES': '''Afegeix un enllaç en les adreces per obrir-les amb
|
||||
el Google Maps.
|
||||
''',
|
||||
'description_de_DE': 'Fügt einen Link für den automatischen Aufruf von Google Maps zu Adressen hinzu.',
|
||||
'description_es_CO': 'Añade un enlace a la dirección en Google Maps',
|
||||
'description_es_ES': 'Añade un enlace de la dirección a Google Maps',
|
||||
'description_fr_FR': 'Ajoute un lien sur les adresses vers les cartes de Google',
|
||||
'depends' : [
|
||||
'depends': [
|
||||
'ir',
|
||||
'party'
|
||||
],
|
||||
'xml' : [
|
||||
'xml': [
|
||||
'address.xml',
|
||||
],
|
||||
'translation': [
|
||||
|
||||
@@ -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):
|
||||
@@ -33,6 +34,7 @@ class GoogleMapsTestCase(unittest.TestCase):
|
||||
'''
|
||||
test_depends()
|
||||
|
||||
|
||||
def suite():
|
||||
suite = trytond.tests.test_tryton.suite()
|
||||
suite.addTests(unittest.TestLoader().loadTestsFromTestCase(
|
||||
|
||||
Reference in New Issue
Block a user