Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
OpenGEODE
Commits
e4e62f2d
Commit
e4e62f2d
authored
Nov 06, 2016
by
Maxime Perrotin
Browse files
Fix update of asn1 constants in dictionary
parent
29742eea
Changes
2
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
e4e62f2d
...
...
@@ -142,7 +142,10 @@ The background pattern was downloaded from www.subtlepatterns.com
Changelog
=========
1.
5.16 (11/2016)
1.
5.18 (11/2016)
-
Fix parsing of ASN.1 constants that use an annonymous inner type
1.
5.17 (11/2016)
-
Fixed issue with initialization of generated code in state aggregations
1.
5.16 (11/2016)
...
...
opengeode/opengeode.py
View file @
e4e62f2d
...
...
@@ -138,7 +138,7 @@ except ImportError:
__all__
=
[
'opengeode'
,
'SDL_Scene'
,
'SDL_View'
,
'parse'
]
__version__
=
'1.5.1
7
'
__version__
=
'1.5.1
8
'
if
hasattr
(
sys
,
'frozen'
):
# Detect if we are running on Windows (py2exe-generated)
...
...
@@ -2380,8 +2380,10 @@ class OG_MainWindow(QtGui.QMainWindow, object):
item
=
self
.
datadict
.
topLevelItem
(
1
)
item
.
takeChildren
()
for
name
,
sort
in
ast
.
asn1_constants
.
viewitems
():
QtGui
.
QTreeWidgetItem
(
item
,
[
name
.
replace
(
'-'
,
'_'
),
sort
.
type
.
ReferencedTypeName
])
sortname
=
sort
.
type
.
ReferencedTypeName
\
if
sort
.
type
.
kind
.
startswith
(
'Reference'
)
\
else
sort
.
type
.
kind
[:
-
4
]
QtGui
.
QTreeWidgetItem
(
item
,
[
name
.
replace
(
'-'
,
'_'
),
sortname
])
self
.
datadict
.
resizeColumnToContents
(
0
)
...
...
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