Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Intellij Community
Commits
5755bc57
Commit
5755bc57
authored
10 years ago
by
Dmitry Trofimov
Browse files
Options
Download
Email Patches
Plain Diff
Fix condition for Python 2.4 (PY-14437).
parent
33a51d07
Branches unavailable
Tags unavailable
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
python/helpers/pydev/pydevd_vars.py
+4
-1
python/helpers/pydev/pydevd_vars.py
with
4 additions
and
1 deletion
+4
-1
python/helpers/pydev/pydevd_vars.py
+
4
-
1
View file @
5755bc57
...
...
@@ -423,7 +423,10 @@ def array_to_xml(array, roffset, coffset, rows, cols, format):
if
rows
==
1
and
cols
==
1
:
value
=
array
[
0
]
else
:
dim
=
col
if
(
rows
==
1
)
else
row
if
rows
==
1
:
dim
=
col
else
:
dim
=
row
value
=
array
[
dim
]
if
"ndarray"
in
str
(
type
(
value
)):
value
=
value
[
0
]
...
...
This diff is collapsed.
Click to expand it.
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
Menu
Projects
Groups
Snippets
Help