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
Tiago Peixoto
graph-tool
Commits
7f03e925
Commit
7f03e925
authored
Jul 21, 2016
by
Tiago Peixoto
Browse files
Fix another Python 2 compatibility issue
parent
d38840ea
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/graph_tool/__init__.py
View file @
7f03e925
...
@@ -1255,7 +1255,7 @@ def incident_edges_op(g, direction, op, eprop, vprop=None):
...
@@ -1255,7 +1255,7 @@ def incident_edges_op(g, direction, op, eprop, vprop=None):
if
direction
==
"in"
:
if
direction
==
"in"
:
g
=
GraphView
(
g
,
reversed
=
True
,
skip_properties
=
True
)
g
=
GraphView
(
g
,
reversed
=
True
,
skip_properties
=
True
)
libcore
.
out_edges_op
(
g
.
_Graph__graph
,
_prop
(
"e"
,
g
,
eprop
),
libcore
.
out_edges_op
(
g
.
_Graph__graph
,
_prop
(
"e"
,
g
,
eprop
),
_prop
(
"v"
,
g
,
vprop
),
op
)
_prop
(
"v"
,
g
,
vprop
),
_to_str
(
op
)
)
if
vprop
is
not
orig_vprop
:
if
vprop
is
not
orig_vprop
:
g
.
copy_property
(
vprop
,
orig_vprop
)
g
.
copy_property
(
vprop
,
orig_vprop
)
return
orig_vprop
return
orig_vprop
...
...
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