From 1f955fc655f7369469df10bce0860ef16e889fa1 Mon Sep 17 00:00:00 2001 From: Alex Willmer Date: Thu, 21 Sep 2017 19:45:50 +0100 Subject: [PATCH] Declare self-less method as static Found using pylint --- mitogen/master.py | 1 + 1 file changed, 1 insertion(+) diff --git a/mitogen/master.py b/mitogen/master.py index ba511d23..cdb4c321 100644 --- a/mitogen/master.py +++ b/mitogen/master.py @@ -565,6 +565,7 @@ class Stream(mitogen.core.Stream): # base64'd and passed to 'python -c'. It forks, dups 0->100, creates a # pipe, then execs a new interpreter with a custom argv. 'CONTEXT_NAME' is # replaced with the context name. Optimized for size. + @staticmethod def _first_stage(): import os,sys,zlib R,W=os.pipe()