diff options
author | Sunil Shetye | 2019-06-24 16:09:42 +0530 |
---|---|---|
committer | GitHub | 2019-06-24 16:09:42 +0530 |
commit | c59e3bed0598fc7399339e20c4696253d4d3fbc8 (patch) | |
tree | face4dd65c943b1d79506c044873c2aa9b602eb2 /src/ngspicetoModelica/NgspicetoModelica.py | |
parent | ca27e1ab9d418bfece063a38629da4dc09281e45 (diff) | |
parent | 4a4a6be98a2c5a802761b4008b55ea635dcc7c93 (diff) | |
download | eSim-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.py | 4 |
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: |