aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sos/policies/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sos/policies/__init__.py b/sos/policies/__init__.py
index 9e2b719e..f242df4c 100644
--- a/sos/policies/__init__.py
+++ b/sos/policies/__init__.py
@@ -294,7 +294,7 @@ No changes will be made to system configuration.
name = self.get_local_name().split('.')[0]
case = self.case_id
label = self.commons['cmdlineopts'].label
- rand = ''.join(random.choice(string.lowercase) for x in range(7))
+ rand = ''.join(random.choice(string.ascii_lowercase) for x in range(7))
if self.name_pattern == 'legacy':
nstr = "sosreport-{name}{case}{date}"