File tree 1 file changed +8
-11
lines changed
1 file changed +8
-11
lines changed Original file line number Diff line number Diff line change @@ -790,15 +790,14 @@ def build(self):
790
790
sphinxbuild = self .venv / "bin" / "sphinx-build"
791
791
blurb = self .venv / "bin" / "blurb"
792
792
# Disable cpython switchers, we handle them now:
793
- if self .version .as_tuple () <= (3 , 7 ):
794
- run (
795
- [
796
- "sed" ,
797
- "-i" ,
798
- "s/ *-A switchers=1//" ,
799
- f"'{ self .checkout / 'Doc' / 'Makefile' } '" ,
800
- ]
801
- )
793
+ run (
794
+ [
795
+ "sed" ,
796
+ "-i" ,
797
+ "s/ *-A switchers=1//" ,
798
+ f"'{ self .checkout / 'Doc' / 'Makefile' } '" ,
799
+ ]
800
+ )
802
801
self .version .setup_indexsidebar (
803
802
self .checkout / "Doc" / "tools" / "templates" / "indexsidebar.html"
804
803
)
@@ -1059,8 +1058,6 @@ def main() -> bool:
1059
1058
languages_dict = {language .tag : language for language in LANGUAGES }
1060
1059
versions = Version .filter (VERSIONS , args .branch )
1061
1060
languages = [languages_dict [tag ] for tag in args .languages ]
1062
- if not versions :
1063
- raise ValueError (f"Branch/version { args .branch } not found" )
1064
1061
del args .languages
1065
1062
del args .branch
1066
1063
todo = list (product (versions , languages ))
You can’t perform that action at this time.
0 commit comments