Skip to content

Commit

Permalink
qapi: Clean up qapi.py per pep8
Browse files Browse the repository at this point in the history
Silence pep8, and make pylint a bit happier.  Just style cleanups,
plus killing a useless comment in camel_to_upper(); no semantic
changes.

Signed-off-by: Eric Blake <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Markus Armbruster <[email protected]>
  • Loading branch information
ebblake authored and Markus Armbruster committed Oct 12, 2015
1 parent 59b0054 commit 437db25
Show file tree
Hide file tree
Showing 2 changed files with 106 additions and 58 deletions.
3 changes: 2 additions & 1 deletion scripts/ordereddict.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@

from UserDict import DictMixin


class OrderedDict(dict, DictMixin):

def __init__(self, *args, **kwds):
Expand Down Expand Up @@ -117,7 +118,7 @@ def __eq__(self, other):
if isinstance(other, OrderedDict):
if len(self) != len(other):
return False
for p, q in zip(self.items(), other.items()):
for p, q in zip(self.items(), other.items()):
if p != q:
return False
return True
Expand Down
Loading

0 comments on commit 437db25

Please sign in to comment.