[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#804099: apt-xapian-index and Python 3



Hi,

I just realised that update-apt-xapian-index is not working if /usr/bin/python is pointing to a Python 3 interpreter. It gives the following error:

  File "/usr/sbin/update-apt-xapian-index", line 86
    except OSError, e:
                  ^
SyntaxError: invalid syntax


Thus, I guess the changes mentioned above have not been incorporated into the code. (The links are not working anymore...)

What do you think about changing the shebang line to:
#!/usr/bin/python2
?

Best,
Dino


Reply to: