forked from wikimedia/pywikibot
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[bugfix] Check for 'from' option first
- import pydot first, use exception for dependency warning - make args method a staticmethod and renamit it to setup_args - remove ap parametr from CategoryGraphBot which isn't used - use vars() function to access to args.__dict__ - fix usage of args attribute within CategoryGraphBot - add main() function - pass local_args to ap.parse_known_args - pass rest of ap.parse_known_args to suggest_help as unknown_parameters - call suggest_help() first - use contextlib.suppress to ignore FileNotFoundError Bug: T354162 Change-Id: Ic8694814ed54825ae9999cdb4610387e6a2e94c4
- Loading branch information
Showing
1 changed file
with
42 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters