global_lib.py 文件源码

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

项目:pg_ninja 作者: transferwise 项目源码 文件源码
def __init__(self):
        """
            Class constructor.
        """
        python_lib=get_python_lib()
        cham_dir = "%s/.pg_ninja" % os.path.expanduser('~') 
        local_config = "%s/config/" % cham_dir 
        local_logs = "%s/logs/" % cham_dir 
        local_pid = "%s/pid/" % cham_dir 
        self.global_config_example = '%s/pg_ninja/config/config-example.yaml' % python_lib
        self.local_config_example = '%s/config-example.yaml' % local_config
        self.global_obfuscation_example = '%s/pg_ninja/config/obfuscation-example.yaml' % python_lib
        self.local_obfuscation_example = '%s/obfuscation-example.yaml' % local_config
        self.conf_dirs=[
            cham_dir, 
            local_config, 
            local_logs, 
            local_pid, 

        ]
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号