Skip to content

Commit

Permalink
*: Fix pylint
Browse files Browse the repository at this point in the history
  • Loading branch information
etobella committed Oct 30, 2023
1 parent 3f8ce94 commit 7802f22
Show file tree
Hide file tree
Showing 28 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions l10n_eu_nace/data/make_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
ID_TEMPLATE = "nace_%s"

_logger.info("Generating the English CSV file...")
src = csv.reader(open("NACE_REV2_en.csv", "rU"))
src = csv.reader(open("../examples/NACE_REV2_en.csv", "rU"))
dest = csv.writer(open("res.partner.nace.csv", "w"), quoting=csv.QUOTE_ALL)
# Write the file header
dest.writerow(["id", "parent_id:id", "code", "name"])
Expand All @@ -69,7 +69,7 @@
for lang in LANGS:
filename = lang != "en" and ("%s.po" % lang) or "l10n_eu_nace.pot"
_logger.info("Generating %s..." % filename)
src = csv.reader(open("NACE_REV2_%s.csv" % lang, "rU"))
src = csv.reader(open("../examples/NACE_REV2_%s.csv" % lang, "rU"))
# Skip first line
next(src)
# Write file header
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion product_fao_fishing/views/product_fao_techinique_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
<field name="model">product.fao.fishing.technique</field>
<field name="priority">1</field>
<field name="arch" type="xml">
<tree string="Product Fao Techiniques">
<tree>
<field name="display_name" />
</tree>
</field>
Expand Down

0 comments on commit 7802f22

Please sign in to comment.