[Yt-svn] yt: Cleaned up some parentheses.
hg at spacepope.org
hg at spacepope.org
Wed May 19 16:01:24 PDT 2010
hg Repository: yt
details: yt/rev/24ee6c9f9e22
changeset: 1686:24ee6c9f9e22
user: Britton Smith <brittonsmith at gmail.com>
date:
Wed May 19 17:01:14 2010 -0600
description:
Cleaned up some parentheses.
diffstat:
yt/lagos/Clump.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (15 lines):
diff -r 93c42178c0ed -r 24ee6c9f9e22 yt/lagos/Clump.py
--- a/yt/lagos/Clump.py Wed May 19 16:58:20 2010 -0600
+++ b/yt/lagos/Clump.py Wed May 19 17:01:14 2010 -0600
@@ -195,9 +195,9 @@
"Return a list of all clumps at the bottom of the hierarchy."
if clump_list is None: clump_list = []
- if ((clump.children is None) or (len(clump.children) == 0)):
+ if clump.children is None or len(clump.children) == 0:
clump_list.append(clump)
- if ((clump.children is not None) and (len(clump.children) > 0)):
+ if clump.children is not None and len(clump.children) > 0:
for child in clump.children:
get_lowest_clumps(child, clump_list=clump_list)
More information about the yt-svn
mailing list