Declare self-less method as static

Found using pylint
wip-fakessh-exit-status
Alex Willmer 7 years ago committed by David Wilson
parent 36754254b2
commit 1f955fc655

@ -565,6 +565,7 @@ class Stream(mitogen.core.Stream):
# base64'd and passed to 'python -c'. It forks, dups 0->100, creates a # 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 # pipe, then execs a new interpreter with a custom argv. 'CONTEXT_NAME' is
# replaced with the context name. Optimized for size. # replaced with the context name. Optimized for size.
@staticmethod
def _first_stage(): def _first_stage():
import os,sys,zlib import os,sys,zlib
R,W=os.pipe() R,W=os.pipe()

Loading…
Cancel
Save