Commit Graph

2 Commits (4ee754f359e8f7a4ef32df2ca87319c6bc381c47)

Author SHA1 Message Date
abhishekkekane 2d95f8c7d0 Restrict use of iteritems, iterkeys and itervalues
Enabled hacking checks to check dict.iteritems, dict.itervalues and
dict.iterkeys should not be used in the future and raise error while
running pep8 using tox.

Change-Id: I1239bb5c651d0193141d5bb830872caf172ec561
2016-03-23 10:05:54 +00:00
zhangguoqing 2ef91a7e77 hacking log warn
LOG.warn is deprecated in Python 3 [1], so add hacking warn.
[1]https://docs.python.org/3/library/logging.html#logging.warning

Change-Id: I95aa121c2b11437a086d7f8bee25ffa956dd3e4f
2016-03-18 23:00:14 +08:00