X-Git-Url: http://www.git.cypherpunks.ru/?p=pyderasn.git;a=blobdiff_plain;f=pyderasn.py;h=fcaa5a6cdcce2e4057305b5cc37f0c9ffa164913;hp=53e7abf245352eb8b610ef23d525f43f55213945;hb=f7a92debecda42633ba9a7c320eaaa81871a4d49;hpb=40b45e547d39e7b1daca62a625867010387fc0ff diff --git a/pyderasn.py b/pyderasn.py index 53e7abf..fcaa5a6 100755 --- a/pyderasn.py +++ b/pyderasn.py @@ -5134,7 +5134,7 @@ def get_def_by_path(defines_by_path, sub_decode_path): if len(path) != len(sub_decode_path): continue for p1, p2 in zip(path, sub_decode_path): - if (p1 != any) and (p1 != p2): + if (not p1 is any) and (p1 != p2): break else: return define