Skip to content

Commit 01b76fd

Browse files
committed
blacked
1 parent abc2a2f commit 01b76fd

7 files changed

Lines changed: 2 additions & 7 deletions

File tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# -*- coding: utf-8 -*-
22
"""Init and utils."""
3+
34
from .sensitive import apply
45
from zope.i18nmessageid import MessageFactory
56

6-
77
_ = MessageFactory("design.plone.policy")
88
apply()

src/design/plone/policy/browser/trasparenza.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111

1212
import logging
1313

14-
1514
logger = logging.getLogger("trasparenza")
1615

1716

src/design/plone/policy/locales/update.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
import pkg_resources
55
import subprocess
66

7-
87
domain = "design.plone.policy"
98
os.chdir(pkg_resources.resource_filename(domain, ""))
109
os.chdir("../../../")

src/design/plone/policy/sensitive.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
import re
55
import six
66

7-
87
try:
98
from collective.sentry import error_handler
109
except ImportError:

src/design/plone/policy/tests/test_setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# -*- coding: utf-8 -*-
22
"""Setup tests for this package."""
3+
34
from design.plone.policy.testing import DESIGN_PLONE_POLICY_INTEGRATION_TESTING
45
from design.plone.policy.testing import (
56
DESIGN_PLONE_POLICY_LIMIT_ROOT_ADDABLES_INTEGRATION_TESTING,
@@ -15,7 +16,6 @@
1516

1617
import unittest
1718

18-
1919
try:
2020
from Products.CMFPlone.utils import get_installer
2121
except ImportError:

src/design/plone/policy/upgrades.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
import json
2020
import logging
2121

22-
2322
logger = logging.getLogger(__name__)
2423

2524
DEFAULT_PROFILE = "profile-design.plone.policy:default"

src/design/plone/policy/utils.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
import json
1717
import time
1818

19-
2019
TASSONOMIA_PRIMO_LIVELLO = [
2120
"Amministrazione",
2221
"Novità",

0 commit comments

Comments
 (0)