summaryrefslogtreecommitdiff
path: root/Biz/Que
diff options
context:
space:
mode:
Diffstat (limited to 'Biz/Que')
-rwxr-xr-xBiz/Que/Client.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/Biz/Que/Client.py b/Biz/Que/Client.py
index 90e560f..ef6d6d2 100755
--- a/Biz/Que/Client.py
+++ b/Biz/Que/Client.py
@@ -102,10 +102,8 @@ def send(args: argparse.Namespace) -> None:
if args.serve:
logging.debug("serve")
while not time.sleep(1):
- # pylint: disable=consider-using-with
request.urlopen(req, data=data, timeout=MAX_TIMEOUT)
else:
- # pylint: disable=consider-using-with
request.urlopen(req, data=data, timeout=MAX_TIMEOUT)
@@ -198,7 +196,12 @@ def get_args() -> argparse.Namespace:
"infile",
nargs="?",
type=argparse.FileType("rb"),
- help="data to put on the que. use '-' for stdin, otherwise should be a readable file",
+ help=" ".join(
+ [
+ "data to put on the que.",
+ "use '-' for stdin, otherwise should be a readable file",
+ ]
+ ),
)
return cli.parse_args()