Declare self-less method as static

Found using pylint
This commit is contained in:
Alex Willmer 2017-09-21 19:45:50 +01:00 committed by David Wilson
parent 36754254b2
commit 1f955fc655
1 changed files with 1 additions and 0 deletions

View File

@ -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()