Precommit work

This commit is contained in:
Curtis Castrapel
2018-08-22 10:38:09 -07:00
parent a21b71a0e2
commit 3e9726d9db
45 changed files with 246 additions and 207 deletions

View File

@ -25,6 +25,7 @@ class Hex(Field):
"""
A hex formatted string.
"""
def _serialize(self, value, attr, obj):
if value:
value = hex(int(value))[2:].upper()
@ -317,6 +318,7 @@ class SubjectAlternativeNameExtension(Field):
:param kwargs: The same keyword arguments that :class:`Field` receives.
"""
def _serialize(self, value, attr, obj):
general_names = []
name_type = None