summaryrefslogtreecommitdiff
path: root/src/ngspicetoModelica/NgspicetoModelica.py
diff options
context:
space:
mode:
authorSunil Shetye2019-06-24 16:09:42 +0530
committerGitHub2019-06-24 16:09:42 +0530
commitc59e3bed0598fc7399339e20c4696253d4d3fbc8 (patch)
treeface4dd65c943b1d79506c044873c2aa9b602eb2 /src/ngspicetoModelica/NgspicetoModelica.py
parentca27e1ab9d418bfece063a38629da4dc09281e45 (diff)
parent4a4a6be98a2c5a802761b4008b55ea635dcc7c93 (diff)
downloadeSim-c59e3bed0598fc7399339e20c4696253d4d3fbc8.tar.gz
eSim-c59e3bed0598fc7399339e20c4696253d4d3fbc8.tar.bz2
eSim-c59e3bed0598fc7399339e20c4696253d4d3fbc8.zip
Merge pull request #97 from sunilshetye/ambiguous
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: