From 4a4a6be98a2c5a802761b4008b55ea635dcc7c93 Mon Sep 17 00:00:00 2001 From: Sunil Shetye Date: Mon, 24 Jun 2019 16:06:39 +0530 Subject: pep8: rename ambiguous variable --- src/ngspicetoModelica/NgspicetoModelica.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ngspicetoModelica/NgspicetoModelica.py') diff --git a/src/ngspicetoModelica/NgspicetoModelica.py b/src/ngspicetoModelica/NgspicetoModelica.py index 1c5e754c..bdbd6ac2 100644 --- a/src/ngspicetoModelica/NgspicetoModelica.py +++ b/src/ngspicetoModelica/NgspicetoModelica.py @@ -639,8 +639,8 @@ class NgMoConverter: tempstatList.append("Level=1" + " ") try: - l = mosInfo[words[0]]['l'] - tempstatList.append("L=" + self.getUnitVal(l) + " ") + mwl = mosInfo[words[0]]['l'] + tempstatList.append("L=" + self.getUnitVal(mwl) + " ") except KeyError: tempstatList.append("L=1e-6" + " ") try: -- cgit