-
Notifications
You must be signed in to change notification settings - Fork 2
Improvement #23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improvement #23
Conversation
…hecan CLI project.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
eine Sorge weniger
| args = parser.parse_args() | ||
|
|
||
| if len(sys.argv) == 1: | ||
| if len(sys.argv) == 1 or not hasattr(args, "op"): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this was a bug 🤷
| shutil.copy(resolv_file, tmp_resolv_file) | ||
| except FileNotFoundError: | ||
| logger.warn(f"Resolv file not found ({resolv_file!s}).") | ||
| logger.warning(f"Resolv file not found ({resolv_file!s}).") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
warn has been deprecated!
No description provided.