Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
asn1-value-editor
Commits
8b530c3b
Commit
8b530c3b
authored
Jul 07, 2015
by
Maxime Perrotin
Browse files
Remove unnecessary code
parent
5b1386c8
Changes
1
Hide whitespace changes
Inline
Side-by-side
asn1_value_editor/sdlHandler.py
View file @
8b530c3b
...
...
@@ -620,7 +620,6 @@ class sdlHandler(QObject):
ctypes
.
POINTER
((
ctypes
.
c_ubyte
*
(
size
/
8
))))
# Create native ASN.1 type
typename
=
spec
[
'type'
].
ReferencedTypeName
.
replace
(
'-'
,
'_'
)
asn1_type
=
self
.
proc
.
dataview
[
spec
[
'type'
].
ReferencedTypeName
]
asn1_instance
=
getattr
(
ASN1
,
typename
)()
# Input parameters: copy the content in the ASN.1 Swig type
if
spec
[
'direction'
]
==
'in'
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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