← Back to team overview

openerp-community team mailing list archive

lp:~openerp-community/openerp-product-variant/fix-pep8-and-relative-import into lp:~anybox/openerp-product-variant/7.0

 

Niels Huylebroeck has proposed merging lp:~openerp-community/openerp-product-variant/fix-pep8-and-relative-import into lp:~anybox/openerp-product-variant/7.0.

Requested reviews:
  Anybox (anybox)

For more details, see:
https://code.launchpad.net/~openerp-community/openerp-product-variant/fix-pep8-and-relative-import/+merge/186351

PEP8 + relative import
-- 
https://code.launchpad.net/~openerp-community/openerp-product-variant/fix-pep8-and-relative-import/+merge/186351
Your team OpenERP Community is subscribed to branch lp:~openerp-community/openerp-product-variant/fix-pep8-and-relative-import.
=== modified file 'product_variant_multi/__init__.py'
--- product_variant_multi/__init__.py	2013-04-22 22:54:34 +0000
+++ product_variant_multi/__init__.py	2013-09-18 14:52:26 +0000
@@ -20,4 +20,4 @@
 #
 ##############################################################################
 
-import product_variant
+from . import product_variant

=== modified file 'product_variant_multi/__openerp__.py'
--- product_variant_multi/__openerp__.py	2013-04-04 09:29:53 +0000
+++ product_variant_multi/__openerp__.py	2013-09-18 14:52:26 +0000
@@ -20,13 +20,13 @@
 #
 ##############################################################################
 {
-    "name" : "Product Variant Multi",
-    "version" : "1.0",
-    "author" : "OpenERP SA, Akretion",
-    "category" : "Sales Management",
+    "name": "Product Variant Multi",
+    "version": "1.0",
+    "author": "OpenERP SA, Akretion",
+    "category": "Sales Management",
     "license": "AGPL-3",
     "summary": "Products with multi-dimension variants",
-    "description":"""
+    "description": """
 Multi-axial varianted product support for OpenERP
 =================================================
 
@@ -60,9 +60,9 @@
 and only from product.template if not found on product.product. But at least you
 will have been warned.
     """,
-    "depends" : ["product"],
-    "demo" : ["demo_data.xml"],
-    "data" : [
+    "depends": ["product"],
+    "demo": ["demo_data.xml"],
+    "data": [
         "security/ir.model.access.csv",
         "product_view.xml",
     ],
@@ -70,4 +70,3 @@
     "active": False,
     "installable": True,
 }
-


Follow ups