BIND 10 trac2254, updated. 7a0a89d0cab063bb69e4ec4fede497f9d8d329ba [2254] minor (unrelated) style fix: make lhs and rhs around == more reasonable.
BIND 10 source code commits
bind10-changes at lists.isc.org
Mon Oct 1 19:36:12 UTC 2012
The branch, trac2254 has been updated
via 7a0a89d0cab063bb69e4ec4fede497f9d8d329ba (commit)
from 362430efc09897c1e7d7bdf2bf7b4cffd9fd2e3b (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 7a0a89d0cab063bb69e4ec4fede497f9d8d329ba
Author: JINMEI Tatuya <jinmei at isc.org>
Date: Mon Oct 1 10:18:31 2012 -0700
[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.
-----------------------------------------------------------------------
Summary of changes:
src/bin/bindctl/bindcmd.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
-----------------------------------------------------------------------
diff --git a/src/bin/bindctl/bindcmd.py b/src/bin/bindctl/bindcmd.py
index d4cab7c..8b17695 100644
--- a/src/bin/bindctl/bindcmd.py
+++ b/src/bin/bindctl/bindcmd.py
@@ -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 = []
More information about the bind10-changes
mailing list