summaryrefslogtreecommitdiff
path: root/src/ngspicetoModelica/NgspicetoModelica.py
diff options
context:
space:
mode:
authorSunil Shetye2019-06-24 16:06:39 +0530
committerSunil Shetye2019-06-24 16:06:39 +0530
commit4a4a6be98a2c5a802761b4008b55ea635dcc7c93 (patch)
treeface4dd65c943b1d79506c044873c2aa9b602eb2 /src/ngspicetoModelica/NgspicetoModelica.py
parentca27e1ab9d418bfece063a38629da4dc09281e45 (diff)
downloadeSim-4a4a6be98a2c5a802761b4008b55ea635dcc7c93.tar.gz
eSim-4a4a6be98a2c5a802761b4008b55ea635dcc7c93.tar.bz2
eSim-4a4a6be98a2c5a802761b4008b55ea635dcc7c93.zip
pep8: rename ambiguous variable
Diffstat (limited to 'src/ngspicetoModelica/NgspicetoModelica.py')
-rw-r--r--src/ngspicetoModelica/NgspicetoModelica.py4
1 files changed, 2 insertions, 2 deletions
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: