| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -79,7 +79,7 @@ def _process_from_parent_attrs(self) -> None: | |||
| 79 | 79 | # If we don't delete it then it will be added to the URL as a query-string | |
| 80 | 80 | del self.args[key] | |
| 81 | 81 | ||
| 82 | - def __call__(self) -> Any: | ||
| 82 | + def run(self) -> Any: | ||
| 83 | 83 | # Check for a method that matches object + action | |
| 84 | 84 | method = f"do_{self.what}_{self.action}" | |
| 85 | 85 | if hasattr(self, method): | |
@@ -505,7 +505,7 @@ def run( | |||
| 505 | 505 | fields: List[str], | |
| 506 | 506 | ) -> None: | |
| 507 | 507 | g_cli = GitlabCLI(gl=gl, what=what, action=action, args=args) | |
| 508 | - data = g_cli() | ||
| 508 | + data = g_cli.run() | ||
| 509 | 509 | ||
| 510 | 510 | printer: Union[JSONPrinter, LegacyPrinter, YAMLPrinter] = PRINTERS[output]() | |
| 511 | 511 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments