My dotfiles
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 

17 行
503 B

  1. # Copyright (c) Microsoft Corporation. All rights reserved.
  2. # Licensed under the MIT License.
  3. class UnsupportedToolError(ValueError):
  4. def __init__(self, tool):
  5. msg = 'unsupported tool {!r}'.format(tool)
  6. super(UnsupportedToolError, self).__init__(msg)
  7. self.tool = tool
  8. class UnsupportedCommandError(ValueError):
  9. def __init__(self, cmd):
  10. msg = 'unsupported cmd {!r}'.format(cmd)
  11. super(UnsupportedCommandError, self).__init__(msg)
  12. self.cmd = cmd