From ea178402335132e561d29e906b0bdc1ed07f0b9e Mon Sep 17 00:00:00 2001 From: Willem Melching Date: Tue, 31 Mar 2020 14:43:53 -0700 Subject: [PATCH] Fix comment old-commit-hash: ca2d9af95415cbd77a70ceee8d3fbceaac2381f1 --- selfdrive/tombstoned.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selfdrive/tombstoned.py b/selfdrive/tombstoned.py index c98a373b18..eadfbde6dc 100755 --- a/selfdrive/tombstoned.py +++ b/selfdrive/tombstoned.py @@ -12,7 +12,7 @@ MAX_SIZE = 100000 * 10 # Normal size is 40-100k, allow up to 1M def get_tombstones(): - """Returns list of (c_time, filename) for all tombstones in /data/tombstones""" + """Returns list of (filename, ctime) for all tombstones in /data/tombstones""" DIR_DATA = "/data/tombstones/" return [(DIR_DATA + fn, int(os.stat(DIR_DATA + fn).st_ctime)) for fn in os.listdir(DIR_DATA) if fn.startswith("tombstone")]