summaryrefslogtreecommitdiff
path: root/_action/checksinglestore.py
diff options
context:
space:
mode:
Diffstat (limited to '_action/checksinglestore.py')
-rw-r--r--_action/checksinglestore.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/_action/checksinglestore.py b/_action/checksinglestore.py
index 27d5cc8..11fd80c 100644
--- a/_action/checksinglestore.py
+++ b/_action/checksinglestore.py
@@ -11,6 +11,8 @@ class CheckSingleStoreAction(argparse.Action):
if getattr(namespace, self.dest, None) is not None:
print(
'WARNING: previous optional argument "' + option_string + " " +
- getattr(namespace, self.dest) + '" overwritten by "' +
- option_string + " " + values + '"')
+ str(getattr(namespace, self.dest)) + '" overwritten by "' +
+ str(option_string) +
+ " " + str(values) +
+ '"')
setattr(namespace, self.dest, values)