aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryn M. Reeves <bmr@redhat.com>2014-04-24 21:13:17 +0100
committerBryn M. Reeves <bmr@redhat.com>2014-04-24 21:13:17 +0100
commit67afdc16b6141d8df124de507acffd33b2a668ad (patch)
tree3d0eb74ffeaade3b16ee4bf0da625f69c230b36e
parent5b098a79ad8f6e4de853e323809738dc3d0d4869 (diff)
downloadsos-67afdc16b6141d8df124de507acffd33b2a668ad.tar.gz
Fix logging exception in Plugin.collect_strings()
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r--sos/plugins/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sos/plugins/__init__.py b/sos/plugins/__init__.py
index 79bc3edb..8f5ca1b2 100644
--- a/sos/plugins/__init__.py
+++ b/sos/plugins/__init__.py
@@ -580,7 +580,7 @@ class Plugin(object):
def collect_strings(self):
for string, file_name in self.copy_strings:
self.log_info("collecting string '%s' as '%s'"
- % (self.name(), string, file_name))
+ % (string, file_name))
try:
self.archive.add_string(string,
os.path.join('sos_strings', self.name(), file_name))