aboutsummaryrefslogtreecommitdiff
path: root/pyasn1_modules
diff options
context:
space:
mode:
authorIlya Etingof <etingof@gmail.com>2017-07-27 00:20:47 +0200
committerIlya Etingof <etingof@gmail.com>2017-07-27 00:20:47 +0200
commit75a1d105027e86aa7d2720e6f0fa6349933ad55d (patch)
treee483cadec2a3404c1cee5d15c4bed08321b8ed68 /pyasn1_modules
parenteb30a145c9751a86ce8a7007d7d77ce0fcd92b6a (diff)
downloadpyasn1-modules-75a1d105027e86aa7d2720e6f0fa6349933ad55d.tar.gz
temporary hack to recursive type definition
Diffstat (limited to 'pyasn1_modules')
-rw-r--r--pyasn1_modules/rfc4210.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyasn1_modules/rfc4210.py b/pyasn1_modules/rfc4210.py
index fd421e4..d7e6db0 100644
--- a/pyasn1_modules/rfc4210.py
+++ b/pyasn1_modules/rfc4210.py
@@ -784,5 +784,5 @@ class PKIMessages(univ.SequenceOf):
# pyasn1 does not naturally handle recursive definitions, thus this hack:
# NestedMessageContent ::= PKIMessages
-NestedMessageContent.componentType = PKIMessages()
-nestedMessageContent.componentType = PKIMessages()
+NestedMessageContent._componentType = PKIMessages()
+nestedMessageContent._componentType = PKIMessages()