Skip to content
Snippets Groups Projects
Commit 0cb2b407 authored by Phil's avatar Phil
Browse files

Fixed namespace problem with asn1fields (ticket #140)

parent 6c952a9e
No related branches found
No related tags found
No related merge requests found
...@@ -6,6 +6,8 @@ ...@@ -6,6 +6,8 @@
from asn1.asn1 import * from asn1.asn1 import *
from asn1.ber import * from asn1.ber import *
from volatile import * from volatile import *
from base_classes import BasePacket
##################### #####################
#### ASN1 Fields #### #### ASN1 Fields ####
...@@ -76,7 +78,7 @@ class ASN1F_field(ASN1F_element): ...@@ -76,7 +78,7 @@ class ASN1F_field(ASN1F_element):
if type(x) is list: if type(x) is list:
x = x[:] x = x[:]
for i in xrange(len(x)): for i in xrange(len(x)):
if isinstance(x[i], Packet): if isinstance(x[i], BasePacket):
x[i] = x[i].copy() x[i] = x[i].copy()
return x return x
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment