|
|
@ -181,7 +181,6 @@ class BinaryPlanner(Planner):
|
|
|
|
runner_name = 'BinaryRunner'
|
|
|
|
runner_name = 'BinaryRunner'
|
|
|
|
|
|
|
|
|
|
|
|
def detect(self, invocation):
|
|
|
|
def detect(self, invocation):
|
|
|
|
print 'DERP [[[[%s]]]]' % (invocation.module_source[:1024].encode('base64'),)
|
|
|
|
|
|
|
|
return module_common._is_binary(invocation.module_source)
|
|
|
|
return module_common._is_binary(invocation.module_source)
|
|
|
|
|
|
|
|
|
|
|
|
def plan(self, invocation, **kwargs):
|
|
|
|
def plan(self, invocation, **kwargs):
|
|
|
@ -357,7 +356,8 @@ def _do_invoke(invocation):
|
|
|
|
for klass in _planners:
|
|
|
|
for klass in _planners:
|
|
|
|
planner = klass()
|
|
|
|
planner = klass()
|
|
|
|
if planner.detect(invocation):
|
|
|
|
if planner.detect(invocation):
|
|
|
|
LOG.debug('%r accepted %r', planner, invocation.module_name)
|
|
|
|
LOG.debug('%r accepted %r (filename %r)', planner,
|
|
|
|
|
|
|
|
invocation.module_name, invocation.module_path)
|
|
|
|
break
|
|
|
|
break
|
|
|
|
LOG.debug('%r rejected %r', planner, invocation.module_name)
|
|
|
|
LOG.debug('%r rejected %r', planner, invocation.module_name)
|
|
|
|
else:
|
|
|
|
else:
|
|
|
|