From 5ba220a9d2a0ef1a0896117f58c0853377f212a2 Mon Sep 17 00:00:00 2001 From: Sabe Jones Date: Thu, 19 Jan 2017 17:30:44 +0000 Subject: [PATCH] refactor(whitespace): nix vim tabs --- lib/cardlib.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/cardlib.py b/lib/cardlib.py index 1a7332c..e7711ca 100644 --- a/lib/cardlib.py +++ b/lib/cardlib.py @@ -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]) + ')'