Xpra: Ticket #1085: Typo in setup.py (15.X)

Occurs at line 655(relevant block):

    if install_dir and stripbuildroot:
        if "BUILDROOT" in dirs:
            if sys.platform.startswith("netbsd"): (BAD LINE, fixed)
                    #see: http://trac.cython.org/ticket/395
                    eifd += ["-fno-strict-aliasing"]
            if "debian" in dirs and "tmp" in dirs:
                #ugly fix for stripping the debian tmp dir:
                #ie: "???/tmp/???/tags/v0.15.x/src/debian/tmp/" -> ""
                while "tmp" in dirs:
                    dirs = dirs[dirs.index("tmp")+1:]
                #strip rpm style build root:

This line needs to be one indentation to the left. Fixing this allows builds to continue.

Tue, 12 Jan 2016 01:48:54 GMT - Antoine Martin: status changed; resolution set

Shocking. That block did not belong there at all, why did patch stick it here without any rejects?? More proper fix in r11650.


Sat, 23 Jan 2021 05:14:33 GMT - migration script:

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/1085