4 Commits

Author SHA1 Message Date
Ai Hamano
068909080a Fix for netaddr v1.3.0 upgrade and pep8 error
It is necessary to specify "expand_partial=True" in IPNetwork init
to expand partial addresses from netaddr v1.3.0.
This patch fixes it so that "expand_partial" can be specified
in IPNetwork init.

And bump the hacking version to 7.0.0 and fix the pep8
error:
 - AttributeError: 'EntryPoints' object has no attribute 'get'

Closes-Bug: #2089815
Closes-Bug: #2088356
Change-Id: I2deb71242f555bbae5ee7c798add18490cb38344
2024-12-03 08:14:56 +09:00
Takashi Kajinami
fee4d127dd Use LOG.warning instead of deprecated LOG.warn
The LOG.warn method is deprecated[1] and the LOG.warning method should
be used instead.

[1] https://docs.python.org/3/library/logging.html#logging.warning

Change-Id: Icafbee2e8615aa8a246de3e2e796c685257b6cd4
2021-12-15 01:28:39 +00:00
Andreas Jaeger
4a2fd6c292 Update hacking for Python3
The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.

Fix problems found by updated hacking version.

Update local hacking checks for new flake8.

Remove hacking and friends from lower-constraints, they are not
needed in installations.

Change-Id: If787d610315be6c973b4335e047242c3aa3caf2a
2020-04-24 13:48:53 +02:00
Isaku Yamahata
54d23acf3e rename various files of neutron/*.py to tacker/*.py
Change-Id: Iaad5851d1a6dc68bfa68dcf6ee6da2b226fad469
2014-07-04 18:20:50 +09:00