X-Git-Url: http://www.git.cypherpunks.ru/?p=pyderasn.git;a=blobdiff_plain;f=pyderasn.py;h=4e3028ca0cad2314cbd088e1097723eb0ef362fb;hp=fb043feeb76d038f4579695826131dcf3636f740;hb=cb4322b285fd82acf587bf9d902d758475b38339;hpb=1822faabc359cd416dddb9a56fd03f20d9651e09 diff --git a/pyderasn.py b/pyderasn.py index fb043fe..4e3028c 100755 --- a/pyderasn.py +++ b/pyderasn.py @@ -3359,7 +3359,6 @@ class Sequence(Obj): You have to make specification of sequence:: class Extension(Sequence): - __slots__ = () schema = ( ("extnID", ObjectIdentifier()), ("critical", Boolean(default=False)), @@ -3620,7 +3619,7 @@ class Sequence(Obj): v = v_tail if spec.default is not None and value == spec.default: # Encoded default values are not valid in DER, - # but we still allow that + # but we allow that anyway continue values[name] = value if len(v) > 0: