tracer: fix typo.
authorwhitequark <cz@m-labs.hk>
Mon, 19 Aug 2019 20:20:18 +0000 (20:20 +0000)
committerwhitequark <cz@m-labs.hk>
Mon, 19 Aug 2019 20:20:18 +0000 (20:20 +0000)
Introduced in 62b3e366.

nmigen/tracer.py

index 981ddae8ceefc4a4c7261f3712d14113f19eaf2f..f02ecd336046938a723f1fef502e76ff370cffb7 100644 (file)
@@ -17,8 +17,8 @@ def get_var_name(depth=2, default=_raise_exception):
     code = frame.f_code
     call_index = frame.f_lasti
     while True:
-        call_opc   = opname[code.co_code[call_index]]
-        if call_opc in ("EXTENDED_ARG"):
+        call_opc = opname[code.co_code[call_index]]
+        if call_opc in ("EXTENDED_ARG",):
             call_index += 2
         else:
             break