From 73d129ef853acf1c9e66b98f80bfbca65cc49d2b Mon Sep 17 00:00:00 2001 From: Tim 'mithro' Ansell Date: Sun, 12 Jul 2020 22:20:52 -0700 Subject: [PATCH] scripts/liberty: Fix indenting first value in list. Signed-off-by: Tim 'mithro' Ansell --- scripts/python-skywater-pdk/skywater_pdk/liberty.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/python-skywater-pdk/skywater_pdk/liberty.py b/scripts/python-skywater-pdk/skywater_pdk/liberty.py index 89f561b..06d37f4 100755 --- a/scripts/python-skywater-pdk/skywater_pdk/liberty.py +++ b/scripts/python-skywater-pdk/skywater_pdk/liberty.py @@ -706,8 +706,8 @@ def liberty_list(k, v, i=tuple()): for l in v: o.append('%s"%s", \\' % (INDENT*(len(i)+1), join(l))) - o[1] = o[0]+o[1] - o.pop(0) + o0 = o.pop(0) + o[0] = o0+o[0].lstrip() o[-1] = o[-1][:-3] + ');' else: