Revert "Precommit - Fix linty things"

This commit is contained in:
Curtis
2018-08-22 13:21:35 -07:00
committed by GitHub
parent e21693cb18
commit 1b77dfa47a
45 changed files with 208 additions and 247 deletions

View File

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