| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent a8caddc commit 6fe2988
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -133,7 +133,7 @@ def _parse_value(v): | |||
| 133 | 133 | def main(): | |
| 134 | 134 | if "--version" in sys.argv: | |
| 135 | 135 | print(gitlab.__version__) | |
| 136 | - exit(0) | ||
| 136 | + sys.exit(0) | ||
| 137 | 137 | ||
| 138 | 138 | parser = _get_base_parser(add_help=False) | |
| 139 | 139 | ||
@@ -149,7 +149,7 @@ def main(): | |||
| 149 | 149 | except gitlab.config.ConfigError as e: | |
| 150 | 150 | if "--help" in sys.argv or "-h" in sys.argv: | |
| 151 | 151 | parser.print_help() | |
| 152 | - exit(0) | ||
| 152 | + sys.exit(0) | ||
| 153 | 153 | sys.exit(e) | |
| 154 | 154 | cli_module = importlib.import_module('gitlab.v%s.cli' % config.api_version) | |
| 155 | 155 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments