What are the versions of Python involved?

On Sun, 19 Aug 2018 at 21:34, Huji Lee <huji.huji@gmail.com> wrote:
Hello,

When I run this script[1] on my own machine it runs without any problem. When I run it on Labs, I get an invalid syntax error, pasted below. Can you please help me figure out why?

Thanks!

(venv)tools.huji@tools-bastion-03:~$ python core/pwb.py webcite -page:"SOME PAGE"
Traceback (most recent call last):
  File "core/pwb.py", line 253, in <module>
    if not main():
  File "core/pwb.py", line 246, in main
    run_python_file(filename, [filename] + args, argvu, file_package)
  File "core/pwb.py", line 114, in run_python_file
    exec(compile(source, filename, "exec", dont_inherit=True),
  File "core/scripts/userscripts/webcite.py", line 125
    faCitationPattern = ur'\{\{\s*یادکرد(?:\{\{.*?\}\}|.)*?\}\}'

_______________________________________________
Wikimedia Cloud Services mailing list
Cloud@lists.wikimedia.org (formerly labs-l@lists.wikimedia.org)
https://lists.wikimedia.org/mailman/listinfo/cloud