We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5cf9243 commit 9ab69f7Copy full SHA for 9ab69f7
zulip/zulip/__init__.py
@@ -113,7 +113,7 @@ def custom_error_handling(self, message):
113
# type: (Any, str) -> None
114
self.print_help(sys.stderr)
115
self.exit(2, '{}: error: {}\n'.format(self.prog, message))
116
- parser.error = types.MethodType(custom_error_handling, parser) # type: ignore
+ parser.error = types.MethodType(custom_error_handling, parser) # type: ignore # patching function
117
118
if allow_provisioning:
119
parser.add_argument('--provision',
0 commit comments