From 74973624deed05d1cc8b297fb1d877cadad50969 Mon Sep 17 00:00:00 2001 From: Yves Fischer Date: Thu, 2 Aug 2018 17:21:14 +0200 Subject: new commit-history root - cleaned off passwords --- temp0/boot.py | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 temp0/boot.py (limited to 'temp0/boot.py') diff --git a/temp0/boot.py b/temp0/boot.py new file mode 100644 index 0000000..0d30893 --- /dev/null +++ b/temp0/boot.py @@ -0,0 +1,2 @@ +config = dict(map(lambda x: (x[0], int(x[1]) if x[1].isdigit() else x[1][1:-1] if x[1].startswith('"') and x[1].endswith('"') else x[1]), map(lambda x: x.strip().split("=", 1), filter(lambda x: '=' in x, open(".config").readlines())))) + -- cgit v1.2.1