We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 59bdb7d commit 153b4ddCopy full SHA for 153b4dd
1 file changed
command_runner/__init__.py
@@ -21,8 +21,8 @@
21
__author__ = "Orsiris de Jong"
22
__copyright__ = "Copyright (C) 2015-2025 Orsiris de Jong for NetInvent"
23
__licence__ = "BSD 3 Clause"
24
-__version__ = "1.7.3"
25
-__build__ = "2025041801"
+__version__ = "1.7.4"
+__build__ = "2025052301"
26
__compat__ = "python2.7+"
27
28
import io
@@ -312,12 +312,13 @@ def wrapper(*args, **kwargs):
312
PIPE = subprocess.PIPE
313
314
315
-def _validate_process_priority(priority):
+def _validate_process_priority(
316
+ priority # type: Union[int, str]
317
+ ):
318
+ # type: (...) -> int
319
"""
320
Check if priority int is valid
321
-
- # type: Union[int, bool] -> int
322
def _raise_prio_error(priority, reason):
323
raise ValueError(
324
"Priority not valid ({}): {}. Please use one of {}".format(
0 commit comments