From 665f9fa4b925d65754bcb43d4e7febadec7a2a2f Mon Sep 17 00:00:00 2001 From: Louis Date: Tue, 26 Apr 2016 08:45:17 +0200 Subject: [PATCH] Turn method into static method --- patacrep/build.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/patacrep/build.py b/patacrep/build.py index cd11a1ee..3998244d 100644 --- a/patacrep/build.py +++ b/patacrep/build.py @@ -113,7 +113,8 @@ class Songbook: if self.has_errors(): raise errors.SongbookError("Some songs contain errors. Stopping as requested.") - def _get_chord_names(self, notation): + @staticmethod + def _get_chord_names(notation): """Return a list of chord names, given the user option.""" if notation == "alphascale": return ["A", "B", "C", "D", "E", "F", "G"]