My dotfiles
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

17 wiersze
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