File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 2121__author__ = "Orsiris de Jong"
2222__copyright__ = "Copyright (C) 2015-2025 Orsiris de Jong for NetInvent"
2323__licence__ = "BSD 3 Clause"
24- __version__ = "1.7.3 "
25- __build__ = "2025041801 "
24+ __version__ = "1.7.4 "
25+ __build__ = "2025052301 "
2626__compat__ = "python2.7+"
2727
2828import io
@@ -312,12 +312,13 @@ def wrapper(*args, **kwargs):
312312PIPE = subprocess .PIPE
313313
314314
315- def _validate_process_priority (priority ):
315+ def _validate_process_priority (
316+ priority # type: Union[int, str]
317+ ):
318+ # type: (...) -> int
316319 """
317320 Check if priority int is valid
318321 """
319-
320- # type: Union[int, bool] -> int
321322 def _raise_prio_error (priority , reason ):
322323 raise ValueError (
323324 "Priority not valid ({}): {}. Please use one of {}" .format (
You can’t perform that action at this time.
0 commit comments