]> Cypherpunks.ru repositories - pyderasn.git/blobdiff - pyderasn.py
Some PyLint disables
[pyderasn.git] / pyderasn.py
index 120fb8c53198f18baa52b8c8d3cd874877457d37..84f1bc749df01626694682b635281f53e8483b90 100755 (executable)
@@ -1,6 +1,8 @@
 #!/usr/bin/env python
 # coding: utf-8
 # cython: language_level=3
+# pylint: disable=line-too-long,superfluous-parens,protected-access,too-many-lines
+# pylint: disable=too-many-return-statements,too-many-branches,too-many-statements
 # PyDERASN -- Python ASN.1 DER/CER/BER codec with abstract structures
 # Copyright (C) 2017-2020 Sergey Matveev <stargrave@stargrave.org>
 #
@@ -4970,6 +4972,7 @@ class UTCTime(VisibleString):
             if self.ber_encoded:
                 value += " (%s)" % self.ber_raw
             return value
+        return None
 
     def __unicode__(self):
         if self.ready: