[cleanup] replace equality by "is"
This commit is contained in:
1 parent
e210bd8793
commit
b22d04db47
9 files changed
+17
-17
No files matched your search
@@ -122,7 +122,7 @@ class Magnitude(object):
|
||||
|
||||
def net_magnitude(self, magscaling=None):
|
||||
if self:
|
||||
if magscaling == None:
|
||||
if magscaling is None:
|
||||
scaling = False
|
||||
elif magscaling[0] != 0 and magscaling[1] != 0:
|
||||
scaling = False
|
||||
|
||||
Reference in new issue
Block a user