6 Commits

Author SHA1 Message Date
Chuck Short
b8bb2ff4c3 Add python36 support
Use the six library to get monasca-agent to work with
python2.7 and python3.

Story: 2004148
Task: 27621

Change-Id: I0de315967dd5a745741fda0c53ce8cc85cda8cc5
Signed-off-by: Chuck Short <chucks@redhat.com>
2018-10-25 09:09:53 -04:00
Jui Chandwaskar
c983708637 Add Apache License
Added Apache 2.0 License for missed files

Change-Id: I72217d3cf0089434a9bbe1e5dfd57224a803704e
Signed-off-by: Jui Chandwaskar <jchandwaskar@op5.com>
2018-04-14 11:50:07 +00:00
loooosy
978157fe32 Replace six.iteritems() with .items()
update  where ```iteritems``` is used
1.As mentioned in [1], we should avoid using
six.iteritems to achieve iterators. We can
use dict.items instead, as it will return
iterators in PY3 as well. And dict.items/keys
will more readable. 2.In py2, the performance
about list should be negligible, see the link [2].
[1] https://wiki.openstack.org/wiki/Python3
[2] http://lists.openstack.org/pipermail/openstack-dev/2015-June/066391.html

Change-Id: Ic82c26e0f37bd3ecea98bc85bd98bd62c8d762a2
2017-04-03 22:52:26 +08:00
iswarya_vakati
d70eaced8d Remove unused logging import
Change-Id: I0240233b7b69e110208c41f5b4c65c6351bc6f63
2017-02-20 17:36:07 +00:00
zhangyanxian
59936c7b38 Fix some typo in the files
alwayws should be always
messges should be messages

Change-Id: I64fe8378efb6dd069047852d40ea310b71b28429
2016-07-22 03:26:08 +00:00
Joe Keen
ffd53d8536 Updating unit tests
Change-Id: I56a884962902a0633cd6dded0c1d877a116715b9
2015-08-20 15:04:00 -06:00