From e47315e8efe87bc73fff6c9d645ada605dcfd11e Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner <inform@tiker.net> Date: Thu, 4 Jun 2015 12:50:22 -0500 Subject: [PATCH] Placate PEP8 naming --- bin/loopy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/loopy b/bin/loopy index 2a657174d..0f7b9a607 100644 --- a/bin/loopy +++ b/bin/loopy @@ -29,13 +29,13 @@ def to_python_literal(value): def defines_to_python_code(defines_str): import re - DEFINE_RE = re.compile(r"^\#define\s+([a-zA-Z0-9_]+)\s+(.*)$") + define_re = re.compile(r"^\#define\s+([a-zA-Z0-9_]+)\s+(.*)$") result = [] for l in defines_str.split("\n"): if not l.strip(): continue - match = DEFINE_RE.match(l) + match = define_re.match(l) if match is None: raise RuntimeError("#define not understood: '%s'" % l) -- GitLab