#NEWLINE# def make_runner( self ) : #NEWLINE# #INDENT# 'Make a runner based on command-line arguments, so we can\n        launch this job on EMR, on Hadoop, or locally.\n\n        :rtype: :py:class:`mrjob.runner.MRJobRunner`\n        ' #NEWLINE# bad_words = ( '--steps' , '--mapper' , '--reducer' , '--combiner' , '--step-num' ) #NEWLINE# for w in bad_words : #NEWLINE# #INDENT# if ( w in sys . argv ) : #NEWLINE# #INDENT# raise UsageError ( ( "make_runner() was called with %s. This probably means you tried to use it from __main__, which doesn't work." % w ) ) #NEWLINE# #UNINDENT# #UNINDENT# from mrjob.inline import InlineMRJobRunner #NEWLINE# if ( self . options . runner == 'inline' ) : #NEWLINE# #INDENT# return InlineMRJobRunner ( mrjob_cls = bad_words . __class__ , ** self . inline_job_runner_kwargs ( ) ) #NEWLINE# #UNINDENT# return super ( MRJob , self ) . make_runner ( )