From 7b5af293a6e22928d976c70df7d0235de73239f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mattias=20Andr=C3=A9e?= Date: Mon, 12 Aug 2013 07:57:07 +0200 Subject: [PATCH] Metadata.{getfitting ==> getFitting} MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/metadata.py | 2 +- src/ponysay.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/metadata.py b/src/metadata.py index 4f516b61..ff09aeec 100755 --- a/src/metadata.py +++ b/src/metadata.py @@ -133,7 +133,7 @@ class Metadata(): @staticmethod - def getfitting(fitting, requirement, file): + def getFitting(fitting, requirement, file): ''' Get ponies that fit the terminal diff --git a/src/ponysay.py b/src/ponysay.py index 6a91d539..1fd9f671 100755 --- a/src/ponysay.py +++ b/src/ponysay.py @@ -513,11 +513,11 @@ class Ponysay(): if os.path.exists(ponydir + 'widths'): fitw = set() with open(ponydir + 'widths', 'rb') as file: - Metadata.getfitting(fitw, termw, file) + Metadata.getFitting(fitw, termw, file) if os.path.exists(ponydir + ('onlyheights' if self.ponyonly else 'heights')): fith = set() with open(ponydir + ('onlyheights' if self.ponyonly else 'heights'), 'rb') as file: - Metadata.getfitting(fith, termh, file) + Metadata.getFitting(fith, termh, file) for ponyfile in oldponies.values(): if ponyfile.startswith(ponydir): pony = ponyfile[len(ponydir) : -5]