summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/pybootchartgui/pybootchartgui/parsing.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/pybootchartgui/pybootchartgui/parsing.py b/scripts/pybootchartgui/pybootchartgui/parsing.py
index c8a6a5721a..ed61825d23 100644
--- a/scripts/pybootchartgui/pybootchartgui/parsing.py
+++ b/scripts/pybootchartgui/pybootchartgui/parsing.py
@@ -675,8 +675,7 @@ def parse_paths(writer, state, paths, mintime):
continue
#state.filename = path
if os.path.isdir(path):
- files = [ f for f in [os.path.join(path, f) for f in os.listdir(path)] ]
- files.sort()
+ files = sorted([os.path.join(path, f) for f in os.listdir(path)])
state = parse_paths(writer, state, files, mintime)
elif extension in [".tar", ".tgz", ".gz"]:
if extension == ".gz":