Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
third-party
cinema_python
Commits
75f4af56
Commit
75f4af56
authored
Mar 03, 2020
by
Cory Quammen
Browse files
Merge branch 'remove-is-usage' into 'for/paraview'
Replace invalid use of 'is' keyword See merge request
!7
parents
b241b6e8
8ff36e70
Pipeline
#162861
failed with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
cinema_python/adaptors/paraview/pv_introspect.py
View file @
75f4af56
...
...
@@ -195,7 +195,7 @@ def get_pipeline():
for
proxy
in
proxies
:
source
=
paraview
.
simple
.
FindSource
(
proxy
[
'name'
])
numberOfProducers
=
source
.
GetNumberOfProducers
()
if
proxy
[
'parent'
]
is
'0'
and
numberOfProducers
>
0
:
if
proxy
[
'parent'
]
==
'0'
and
numberOfProducers
>
0
:
# this proxy is the result of a merge
parents
=
[]
for
i
in
xrange
(
numberOfProducers
):
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment