Fixed lack of spacing for multi-line strings (#619)
Co-authored-by: Wes Appler <wes@lamemakes>
This commit is contained in:
parent
776b8a26ad
commit
a865b715f3
|
@ -49,8 +49,8 @@ def dependency_pycups(func):
|
|||
"""Throw a RuntimeError if pycups is not imported."""
|
||||
if not is_usable():
|
||||
raise RuntimeError(
|
||||
"Printing with PyCups requires the pycups library to"
|
||||
"be installed. Please refer to the documentation on"
|
||||
"Printing with PyCups requires the pycups library to "
|
||||
"be installed. Please refer to the documentation on "
|
||||
"what to install and install the dependencies for pycups."
|
||||
)
|
||||
return func(*args, **kwargs)
|
||||
|
|
|
@ -34,7 +34,7 @@ def dependency_linux_lp(func):
|
|||
"""Throw a RuntimeError if not on a non-Windows system."""
|
||||
if not is_usable():
|
||||
raise RuntimeError(
|
||||
"This printer driver depends on LP which is not"
|
||||
"This printer driver depends on LP which is not "
|
||||
"available on Windows systems."
|
||||
)
|
||||
return func(*args, **kwargs)
|
||||
|
|
|
@ -43,8 +43,8 @@ def dependency_pyserial(func):
|
|||
"""Throw a RuntimeError if pyserial not installed."""
|
||||
if not is_usable():
|
||||
raise RuntimeError(
|
||||
"Printing with Serial requires the pyserial library to"
|
||||
"be installed. Please refer to the documentation on"
|
||||
"Printing with Serial requires the pyserial library to "
|
||||
"be installed. Please refer to the documentation on "
|
||||
"what to install and install the dependencies for pyserial."
|
||||
)
|
||||
return func(*args, **kwargs)
|
||||
|
|
|
@ -42,8 +42,8 @@ def dependency_usb(func):
|
|||
"""Throw a RuntimeError if usb not installed."""
|
||||
if not is_usable():
|
||||
raise RuntimeError(
|
||||
"Printing with USB connection requires a usb library to"
|
||||
"be installed. Please refer to the documentation on"
|
||||
"Printing with USB connection requires a usb library to "
|
||||
"be installed. Please refer to the documentation on "
|
||||
"what to install and install the dependencies for USB."
|
||||
)
|
||||
return func(*args, **kwargs)
|
||||
|
|
|
@ -45,8 +45,8 @@ def dependency_win32print(func):
|
|||
"""Throw a RuntimeError if win32print not installed."""
|
||||
if not is_usable():
|
||||
raise RuntimeError(
|
||||
"Printing with Win32Raw requires a win32print library to"
|
||||
"be installed. Please refer to the documentation on"
|
||||
"Printing with Win32Raw requires a win32print library to "
|
||||
"be installed. Please refer to the documentation on "
|
||||
"what to install and install the dependencies for win32print."
|
||||
)
|
||||
return func(*args, **kwargs)
|
||||
|
|
Loading…
Reference in New Issue