]> Cypherpunks.ru repositories - pyderasn.git/commitdiff
Fix "colored" fallback function workability
authorSergey Matveev <stargrave@stargrave.org>
Wed, 4 Sep 2019 12:40:13 +0000 (15:40 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Wed, 4 Sep 2019 12:40:13 +0000 (15:40 +0300)
pyderasn.py

index cf4f22595ab7a4b57a171e9f770aba2b2ff1df34..887f000d20b73afbee0a348af9b2ad3681a79433 100755 (executable)
@@ -670,7 +670,7 @@ from six.moves import xrange as six_xrange
 try:
     from termcolor import colored
 except ImportError:  # pragma: no cover
-    def colored(what, *args):
+    def colored(what, *args, **kwargs):
         return what