summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDwayne Litzenberger <dlitz@dlitz.net>2013-02-16 09:41:24 -0800
committerDwayne Litzenberger <dlitz@dlitz.net>2013-02-16 09:43:56 -0800
commitf3135db3fa324cf0b195ab7600a8f459860ea935 (patch)
tree0899399364cd7bc63cb67b2a00f3da1654500c22
parentafa71afa6bd6c6d0f34ca3f443178f3b6587e62a (diff)
downloadpycrypto-f3135db3fa324cf0b195ab7600a8f459860ea935.tar.gz
asn1: make DerObject into a new-style class
-rw-r--r--lib/Crypto/Util/asn1.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Crypto/Util/asn1.py b/lib/Crypto/Util/asn1.py
index dd5ec31..ad38d47 100644
--- a/lib/Crypto/Util/asn1.py
+++ b/lib/Crypto/Util/asn1.py
@@ -26,7 +26,7 @@ from Crypto.Util.py3compat import *
__all__ = [ 'DerObject', 'DerInteger', 'DerOctetString', 'DerNull', 'DerSequence', 'DerObjectId' ]
-class DerObject:
+class DerObject(object):
"""Base class for defining a single DER object.
Instantiate this class ONLY when you have to decode a DER element.