X-Git-Url: http://wagner.pp.ru/gitweb/?a=blobdiff_plain;f=ctypescrypto%2Fx509.py;fp=ctypescrypto%2Fx509.py;h=44919f1ff9a26be49f66b80570872018c319f84c;hb=0d459cdcbd6957d9eaef790e605f8af767d483e5;hp=af61942adc5f685d1db83c299b2ac033f51bd37d;hpb=26cea2b5ab48f099b08a1cde56cf1bec0062a584;p=oss%2Fctypescrypto.git diff --git a/ctypescrypto/x509.py b/ctypescrypto/x509.py index af61942..44919f1 100644 --- a/ctypescrypto/x509.py +++ b/ctypescrypto/x509.py @@ -18,9 +18,9 @@ from datetime import datetime try: from pytz import utc except ImportError: - from datetime import timedelta + from datetime import timedelta,tzinfo ZERO=timedelta(0) - class UTC(datetime.tzinfo): + class UTC(tzinfo): """tzinfo object for UTC. If no pytz is available, we would use it. """