Skip to content

Commit 4634f25

Browse files
committed
cleanup style
1 parent 6b28f13 commit 4634f25

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cwltool/main.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
import io
99
import logging
1010
import os
11-
import requests
1211
import signal
1312
import subprocess # nosec
1413
import sys
@@ -34,6 +33,7 @@
3433

3534
import argcomplete
3635
import coloredlogs
36+
import requests
3737
import ruamel.yaml
3838
from ruamel.yaml.comments import CommentedMap, CommentedSeq
3939
from ruamel.yaml.main import YAML
@@ -176,8 +176,8 @@ def _signal_handler(signum: int, _: Any) -> None:
176176

177177
def append_word_to_default_user_agent(word: str) -> None:
178178
"""Append the specified word to the requests http user agent string if it's not already there."""
179-
original_function = requests.utils.default_user_agent;
180-
suffix = f' {word}';
179+
original_function = requests.utils.default_user_agent
180+
suffix = f" {word}"
181181
if not original_function().endswith(suffix):
182182
requests.utils.default_user_agent = lambda *args: original_function(*args) + suffix
183183

0 commit comments

Comments
 (0)