https://github.com/ging/horizon
Revision cf088fbb72094b8b8e22b3dfbd54b162fef4906d authored by lzyeval on 04 January 2012, 00:49:49 UTC, committed by lzyeval on 04 January 2012, 00:51:28 UTC
Fixes bug #911531 The None, True, and False values are singletons. All variable *comparisons* to singletons should use 'is' or 'is not'. All variable *evaluations* to boolean should use 'if' or 'if not'. All Object type comparisons should use isinstance() instead of comparing types directly Change-Id: Ie1b3e18bad22a2baeb79d50928267a4cac0a55e4
1 parent 7266ee5
Tip revision: cf088fbb72094b8b8e22b3dfbd54b162fef4906d authored by lzyeval on 04 January 2012, 00:49:49 UTC
PEP8 cleanup
PEP8 cleanup
Tip revision: cf088fb
File | Mode | Size |
---|---|---|
docs | ||
horizon | ||
openstack-dashboard | ||
tools | ||
.bzrignore | -rw-r--r-- | 365 bytes |
.gitignore | -rw-r--r-- | 558 bytes |
.gitreview | -rw-r--r-- | 76 bytes |
.pylintrc | -rw-r--r-- | 1.4 KB |
LICENSE | -rw-r--r-- | 9.9 KB |
README.rst | -rw-r--r-- | 2.3 KB |
run_tests.sh | -rwxr-xr-x | 13.8 KB |
Computing file changes ...