Commits

Raimon Esteve (Zikzakmedia) committed eff9f31

pyflakes fixed

Comments (0)

Files changed (7)

 include LICENSE
 include tryton.cfg
 include *.xml
-include *.odt
 include locale/*.po
 include doc/*
 # This file is part of subscription module of Tryton.
 # The COPYRIGHT file at the top level of this repository contains the full
 # copyright notices and license terms.
-
 from trytond.pool import Pool
 from .subscription import *
 
 #!/usr/bin/env python
-#This file is part of Tryton.  The COPYRIGHT file at the top level of
-#this repository contains the full copyright notices and license terms.
-
+# This file is part of subscription module of Tryton.
+# 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
 
-
 def read(fname):
     return open(os.path.join(os.path.dirname(__file__), fname)).read()
 
 # This file is part of subscription module of Tryton.
 # The COPYRIGHT file at the top level of this repository contains the full
 # copyright notices and license terms.
-
 from ...config import CONFIG
 from datetime import datetime
 from trytond.model import ModelView, ModelSQL, fields
 }
 DEPENDS = ['state']
 
+
 class SubscriptionSubscription(ModelSQL, ModelView):
     'Subscription'
     __name__ = 'subscription.subscription'
 copyright notices and license terms. -->
 <tryton>
     <data>
-
         <record model="res.group" id="group_subscription_admin">
             <field name="name">Subscription Administration</field>
         </record>
         <menuitem name="Subscription" id="menu_main_subscription"
                 parent="ir.menu_administration"/>
 
-<!-- subscription.subscription -->
+        <!-- subscription.subscription -->
         <record model="ir.ui.view" id="subscription_subscription_view_tree">
             <field name="model">subscription.subscription</field>
             <field name="type">tree</field>
             <field name="perm_delete" eval="True"/>
         </record>
 
-<!-- subscription.line -->
+        <!-- subscription.line -->
         <record model="ir.ui.view" id="subscription_line_view_tree">
             <field name="model">subscription.line</field>
             <field name="type">tree</field>
             <field name="perm_delete" eval="True"/>
         </record>
 
-
-<!-- subscription.history -->
+        <!-- subscription.history -->
         <record model="ir.ui.view" id="subscription_history_view_tree">
             <field name="model">subscription.history</field>
             <field name="type">tree</field>
             <field name="perm_create" eval="True"/>
             <field name="perm_delete" eval="True"/>
         </record>
-
     </data>
 </tryton>

tests/__init__.py

-#This file is part of Tryton.  The COPYRIGHT file at the top level of
-#this repository contains the full copyright notices and license terms.
-
+# This file is part of subscription module of Tryton.
+# The COPYRIGHT file at the top level of this repository contains the full
+# copyright notices and license terms.
 from .test_subscription import suite

tests/test_subscription.py

 #!/usr/bin/env python
-#This file is part of Tryton.  The COPYRIGHT file at the top level of
-#this repository contains the full copyright notices and license terms.
+# This file is part of subscription module of Tryton.
+# The COPYRIGHT file at the top level of this repository contains the full
+# copyright notices and license terms.
 
 import sys
 import os