refactor(whitespace): nix vim tabs

This commit is contained in:
Sabe Jones 2017-01-19 17:30:44 +00:00
parent 77b4639205
commit 5ba220a9d2

View file

@ -12,7 +12,7 @@ try:
except ImportError:
def titlecase(s):
s = s.title()
smallwords = [
smallwords = [
"'S",
' A ',
' For ',
@ -22,7 +22,7 @@ except ImportError:
' To ',
]
for word in smallwords:
s = s.replace(word, word.lower())
s = s.replace(word, word.lower())
return s
try:
@ -692,7 +692,7 @@ class Card:
if self.__dict__[field_subtypes]:
outstr += (' ' + utils.dash_marker)
for subtype in self.__dict__[field_subtypes]:
outstr += ' ' + titlecase(subtype)
outstr += ' ' + titlecase(subtype)
if self.__dict__[field_pt]:
outstr += ' (' + utils.from_unary(self.__dict__[field_pt]) + ')'