Browse Source

[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.
JINMEI Tatuya 12 years ago
parent
commit
7a0a89d0ca
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/bin/bindctl/bindcmd.py

+ 1 - 1
src/bin/bindctl/bindcmd.py

@@ -528,7 +528,7 @@ class BindCmdInterpreter(Cmd):
         Returns the string value of the hints list with index 'state',
         Returns the string value of the hints list with index 'state',
         or None if no (more) hints are available.
         or None if no (more) hints are available.
         """
         """
-        if 0 == state:
+        if state == 0:
             self._update_all_modules_info()
             self._update_all_modules_info()
             text = text.strip()
             text = text.strip()
             hints = []
             hints = []