Skip to content

Commit

Permalink
Remove unneeded f-strings
Browse files Browse the repository at this point in the history
  • Loading branch information
Eduard Kaverinskyi committed Jun 15, 2023
1 parent 4a378ab commit bd6ef03
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions squape/squishserver.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ def __init__(self, location=None, host=None, port=None):
except KeyError:
raise EnvironmentError(
"The SQUISH_PREFIX variable is not set, "
f"and location of the squishserver \
({self.host}:{self.port}) is not specified!"
"and location of the squishserver "
f"({self.host}:{self.port}) is not specified!"
)
else:
self.location = location
Expand Down Expand Up @@ -72,15 +72,15 @@ def _config_squishserver(self, config_option: str, params=None, cwd=None):

debug(
f"[Squishserver {self.host}:{self.port}] "
f"Executing command: squishserver --config "
"Executing command: squishserver --config "
f"{' '.join(params)}",
f"cwd: {cwd}",
)
(exitcode, stdout, stderr) = self.remotesys.execute(cmd, cwd)
if exitcode != "0":
raise SquishserverError(
f"[Squishserver {self.host}:{self.port}] "
f"was not able to perform "
"was not able to perform "
f"{config_option} configuration operation"
f"\nParameters: {' '.join(params)}"
f"\nexit code: {exitcode}"
Expand Down

0 comments on commit bd6ef03

Please sign in to comment.