You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure if this is a bug, but seems strange code.
The file is report.py, class Report, method __init__, inside the if not jpype.isJVMStarted() there are 2 ifs, one in line 61 and one in line 63.
The combined logic of their evaluation seems... strange to me:
if the condition of the if at line 61 is True, then the classpath list is updated, but the condition of the if at line 63 will automatically eval to False, so the updated classpath won't be used and will be thrashed since it's not used anywhere else in the __init__ method.
Am I missing something?
The text was updated successfully, but these errors were encountered:
I'm not sure if this is a bug, but seems strange code.
The file is
report.py
,class Report
, method__init__
, inside theif not jpype.isJVMStarted()
there are 2if
s, one in line 61 and one in line 63.The combined logic of their evaluation seems... strange to me:
if the condition of the
if
at line 61 is True, then theclasspath
list is updated, but the condition of theif
at line 63 will automatically eval to False, so the updatedclasspath
won't be used and will be thrashed since it's not used anywhere else in the__init__
method.Am I missing something?
The text was updated successfully, but these errors were encountered: