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
byte-compiling build/bdist.linux-x86_64/egg/tracadvsearch/backend.py to backend.pyc
File "build/bdist.linux-x86_64/egg/tracadvsearch/backend.py", line 80
q_string = " AND ".join(q_parts) if q_parts else ':'
I tried rewriting that line of code as:
if q_parts:
q_string = " AND ".join(q_parts)
else:
q_string = '*:*'
But now it fails to compile on the next line:
byte-compiling build/bdist.linux-x86_64/egg/tracadvsearch/backend.py to backend.pyc
File "build/bdist.linux-x86_64/egg/tracadvsearch/backend.py", line 85
try:
^
Does this code require a newer version of Python to work?
The text was updated successfully, but these errors were encountered:
Thank you for replying.
I tried to update the "X if bool else Y" statements, but that wasn't
enough to make it compile.
We'll update to a newer version of Python soon, and then we'll be able
to use your plugin.
byte-compiling build/bdist.linux-x86_64/egg/tracadvsearch/backend.py to backend.pyc
File "build/bdist.linux-x86_64/egg/tracadvsearch/backend.py", line 80
q_string = " AND ".join(q_parts) if q_parts else ':'
I tried rewriting that line of code as:
But now it fails to compile on the next line:
byte-compiling build/bdist.linux-x86_64/egg/tracadvsearch/backend.py to backend.pyc
File "build/bdist.linux-x86_64/egg/tracadvsearch/backend.py", line 85
try:
^
Does this code require a newer version of Python to work?
The text was updated successfully, but these errors were encountered: