Why not just use "bzrlibroot = None" and then a simple
if line == 'bzrlibroot = None\n':
to replace it int the output script.
I also think this will set 'bzrlibroot' no matter where it is installed (system wide or elsewhere). Which seems a bit over-the-top. Especially for people using packaged versions.
Why not just use "bzrlibroot = None" and then a simple
if line == 'bzrlibroot = None\n':
to replace it int the output script.
I also think this will set 'bzrlibroot' no matter where it is installed (system wide or elsewhere). Which seems a bit over-the-top. Especially for people using packaged versions.