xpra icon
Bug tracker and wiki

Opened 5 years ago

Closed 5 years ago

#1085 closed defect (fixed)

Typo in setup.py (15.X)

Reported by: J. Max Mena Owned by: Antoine Martin
Priority: blocker Milestone: 0.17
Component: core Version: 0.15.x
Keywords: Cc:

Description

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:]
            else:
                #strip rpm style build root:

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

Change History (1)

comment:1 Changed 5 years ago by Antoine Martin

Resolution: fixed
Status: newclosed

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

Thanks!

Note: See TracTickets for help on using tickets.