Takashi Kajinami
741cffdfe7
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: I7e3dc5d1897cd10b94e0a5a5a06db667cba7d443
2022-01-28 09:05:39 +09:00
Radosław Piliszek
18c79eb0ca
Use some better linting
...
Lints docs and yaml files in addition to Python.
This also fixes the encountered issues.
Change-Id: I111cc93939ae4cd2e878e7f863c1a45db51cdbbe
2021-08-17 18:22:06 +00:00
Takashi NATSUME
ea091a50e6
Removed unnecessary parantheses in yield statements
...
The 'yield' statement is not a function.
So it must always be followed by a space when yielding a value.
Change-Id: Iaaa3f692047c03f7dfd2ca63393f169dc4d7fdd0
2018-12-10 06:16:18 +00:00
Kengo Takahara
0cdbbf669d
Remove log translations
...
Log messages are no longer being translated. This removes all use of
the _LC, _LE, _LI and _LW translation markers to simplify logging and to
avoid confusion with new contributions.
See:
http://lists.openstack.org/pipermail/openstack-i18n/2016-November/002574.html
http://lists.openstack.org/pipermail/openstack-dev/2017-March/113365.html
Change-Id: Ic415d098199afb300eb7bd9967bf4a9acb457aec
2017-06-19 16:55:00 +09:00
poojajadhav
f8c25dd2aa
Add hacking check to ensure _ is imported
...
Added hacking check to ensure that _ is imported and allows multiple
imports from i18n module per line.
Change-Id: Ieffabd6f2fe866000c5dc1d9ce83acd2f9ab0450
2017-02-14 18:38:08 +05:30
Sampath Priyankara
bb3728c9cc
Initial Cookiecutter Commit.
...
Change-Id: I3a5df63fc0b4486bed457b7d42cd5d2b873fd307
2016-11-01 13:46:13 +09:00