]> Cypherpunks.ru repositories - pyderasn.git/blobdiff - pyderasn.py
Fix DecodeError bug with DecodePathDefBy
[pyderasn.git] / pyderasn.py
index e69b19056ce010fa0ea09e4a111fd68964c34c95..3ed23da12c2fb486359224fc1275413b9da44980 100755 (executable)
@@ -588,7 +588,7 @@ class DecodeError(Exception):
             c for c in (
                 "" if self.klass is None else self.klass.__name__,
                 (
-                    ("(%s)" % ".".join(self.decode_path))
+                    ("(%s)" % ".".join(str(dp) for dp in self.decode_path))
                     if len(self.decode_path) > 0 else ""
                 ),
                 ("(at %d)" % self.offset) if self.offset > 0 else "",