def __call__(self, argv):
        manager = self.manager
        section = self.get_config_section()
        before_hooks = manager.config.getlist(section, 'before', [])
        after_hooks = manager.config.getlist(section, 'after', [])

        # Assemble arguments.
        sys.argv = self.get_gae_argv(argv)

        # Execute before scripts.
        self.run_hooks(before_hooks, argv)

        script = 'appcfg'
        try:
            self.logger.info('Executing: %s' % ' '.join(sys.argv))
            runpy.run_module(script, run_name='__main__', alter_sys=True)
        except ImportError:
            self.error(dict(script=script) % MISSING_GAE_SDK_MSG)
        finally:
            # Execute after scripts.
            self.run_hooks(after_hooks, argv)
dataset/ETHPy150Open moraes/tipfy/manage/__init__.py/GaeDeployAction.__call__/swapped operands of `%`