phases.py 文件源码

python
阅读 33 收藏 0 点赞 0 评论 0

项目:ronin 作者: tliron 项目源码 文件源码
def command_as_str(self, argument_filter=None):
        """
        Applies all extensions to the executor and calls its ``command_as_str``.

        :returns: command as string
        :rtype: basestring
        """

        def apply_extensions(extensions):
            for extension in extensions:
                verify_type_or_subclass(extension, Extension)
                if isclass(extension):
                    extension = extension()
                extension.apply_to_executor(self.executor)
                apply_extensions(extension.extensions)

        apply_extensions(self.extensions)

        return self.executor.command_as_str(argument_filter)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号