3 Commits

Author SHA1 Message Date
Takashi Kajinami
8bd8a07c08 Run pyupgrade to clean up Python 2 syntaxes
Update all .py source files by
 $ pyupgrade --py3-only $(git ls-files | grep ".py$")
to modernize the code according to Python 3 syntaxes.

Also add the pyupgrade hook to pre-commit to avoid merging additional
Python 2 syntaxes.

Change-Id: Iad18362b251f8ca947976e6150a1ed17ee4c5327
2024-10-21 11:11:55 +00:00
zhangchunlong1@huawei.com
99a11312ed Guru Meditation Reports broken without version_string
The versions from many openstack projects don't provide the
vendor_string,product_string,version_string_with_package.
We need to keep compatible with these projects.

Closes-Bug:#1456465
Change-Id: I688ef29b84541d3261f6b9395b3f591b276aa071
(cherry-picked from oslo-incubator commit
14874b8a836b9580a94a118ed535898cfa76362f)
2015-06-22 16:57:05 -04:00
Solly Ross
4faad94ced Graduation Prep: Initial Import Fixup
This commit fixes up the initial import, correcting import paths,
moving some code into a "private" module, updating requirements
files, etc.
2015-06-03 13:46:39 -04:00