__init__.py 文件源码

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

项目:gissues 作者: divinites 项目源码 文件源码
def refresh(self):
        self.settings = sublime.load_settings('github_issue.sublime-settings')
        for flag in ("token", "username", "password", "debug", "syntax", "git_path", "issue_title_completion",
                     "user_completion", "label_completion", "commit_completion","split_line_width",
                     "commit_completion_trigger", "disable_local_repositories", "wrap_width", "draw_centered", "disable_vintageous"):
            self.setting_dictionary[flag] = self.settings.get(flag)

    ##
    # @brief      get corresponding parameters from Setting Object
    ##
    # @param      self     The object
    # @param      flag     configuration parameters
    # @param      default  The default value of flag
    ##
    # @return     return setting_dictionary[flag] if it is valid otherwise return the default value.
    ##
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号