def path(self, path, tree=None, commit=None):
        url = [self.url, 'tree', path]
        if tree:
            url.append(tree % '?tree=%s')

        return pjoin(*url)


#-----------------------------------------------------------------------------
dataset/ETHPy150Open gvalkov/git-link/gitlink/repobrowsers.py/CgitBrowser.path/swapped operands of `%`