Commit 7a0a89d0 authored by JINMEI Tatuya's avatar JINMEI Tatuya
Browse files

[2254] minor (unrelated) style fix: make lhs and rhs around == more reasonable.

per guideline.  also, there shouldn't have been a reason for using the
unreadable version in python in the first place, because statement like
'if x = 0:' would result in a syntax error.
parent 362430ef
......@@ -528,7 +528,7 @@ class BindCmdInterpreter(Cmd):
Returns the string value of the hints list with index 'state',
or None if no (more) hints are available.
"""
if 0 == state:
if state == 0:
self._update_all_modules_info()
text = text.strip()
hints = []
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment