Code cleaning
This commit is contained in:
parent
71ecb70e9a
commit
268c522c65
1 changed files with 2 additions and 2 deletions
|
@ -42,7 +42,7 @@ parser.add_argument(
|
|||
"--rc",
|
||||
action="store_true",
|
||||
dest="include_rc",
|
||||
help=("Allow release candidate (default: only stable release are " "considered)"),
|
||||
help="Allow release candidate (default: only stable release are considered)",
|
||||
)
|
||||
|
||||
options = parser.parse_args()
|
||||
|
@ -92,7 +92,7 @@ except Exception: # pylint: disable=broad-except
|
|||
logging.debug("Latest version: %s", LATEST)
|
||||
|
||||
if not LATEST:
|
||||
print("UNKNOWN - Fail to retreive latest Forgejo release from the project " "RSS feed")
|
||||
print("UNKNOWN - Fail to retreive latest Forgejo release from the project RSS feed")
|
||||
print(f"Current version: {CURRENT}")
|
||||
sys.exit(3)
|
||||
|
||||
|
|
Loading…
Reference in a new issue