Commits

Raimon Esteve (Zikzakmedia) committed d59be10

pyflakes fixes

Comments (0)

Files changed (3)

electronic_mail_wizard.py

 #This file is part electronic_mail_wizard module for Tryton.
 #The COPYRIGHT file at the top level of this repository contains 
 #the full copyright notices and license terms.
-try:
-    from cStringIO import StringIO
-except ImportError:
-    from StringIO import StringIO
 import mimetypes
 import base64
 import re
 from email.mime.base import MIMEBase
 from email.utils import formatdate
 
-from trytond.model import ModelView, ModelSQL, fields
+from trytond.model import ModelView, fields
 from trytond.wizard import Wizard, StateTransition, StateView, Button
 from trytond.transaction import Transaction
 from trytond.pool import Pool
 
 from setuptools import setup
 import re
-import os
 import ConfigParser
 
 config = ConfigParser.ConfigParser()

tests/test_electronic_mail_wizard.py

 
 import unittest
 import trytond.tests.test_tryton
-from trytond.tests.test_tryton import POOL, DB_NAME, USER, CONTEXT, test_view,\
-    test_depends
-from trytond.transaction import Transaction
+from trytond.tests.test_tryton import test_view, test_depends
+
 
 class ElectronicMailWizardTestCase(unittest.TestCase):
     '''