From 9f93c67fb6f38ff8e3c75abbe43efedf148073c8 Mon Sep 17 00:00:00 2001 From: Jeppe Klitgaard Date: Mon, 6 Apr 2015 02:21:50 +0200 Subject: [PATCH] pylint needed a hand to inspect compat.py --- minecraft/compat.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/minecraft/compat.py b/minecraft/compat.py index b30ef45..564f59e 100644 --- a/minecraft/compat.py +++ b/minecraft/compat.py @@ -7,7 +7,13 @@ both Python2 and Python3 while using the same codebase. # example # > from minecraft.compat import input # > input("asd") + +# Hi, I'm pylint, and sometimes I act silly, at which point my programmer +# overlords need to correct me. + +# pylint: disable=undefined-variable try: input = raw_input except NameError: pass +# pylint: enable=undefined-variable