mirror of
git://git.yoctoproject.org/poky
synced 2026-08-15 02:16:25 +00:00
Revert "set_versions: Handle dev branch in switchers correctly"
This reverts commit f7d853366470d1342e962c9d7164683a40dc0d7e.
This commit is contained in:
parent
d303f9c6ed
commit
13217f8b82
@ -220,7 +220,7 @@ with open("sphinx-static/switchers.js.in", "r") as r, open("sphinx-static/switch
|
||||
version = version + "." + versions[-1]
|
||||
versions.append(version)
|
||||
w.write(" '%s': '%s',\n" % (version, version))
|
||||
if ourversion not in versions and ourbranch != devbranch:
|
||||
if ourversion not in versions:
|
||||
w.write(" '%s': '%s',\n" % (ourversion, ourversion))
|
||||
else:
|
||||
w.write(line)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user