@@ -869,8 +869,9 @@ def matches_arch(element: Element) -> bool:
869
869
870
870
def fetch_modules_sde (self , cmd_type : str , version : Version ) -> List [str ]:
871
871
"""Returns list of modules for src/doc/examples"""
872
- assert (
873
- cmd_type in ("doc" , "examples" ) and self .archive_id .target in ("desktop" , "qt" )
872
+ assert cmd_type in ("doc" , "examples" ) and self .archive_id .target in (
873
+ "desktop" ,
874
+ "qt" ,
874
875
), "Internal misuse of fetch_modules_sde"
875
876
qt_ver_str = self ._get_qt_version_str (version )
876
877
modules_meta = self ._fetch_module_metadata (self .archive_id .to_folder (qt_ver_str , "src_doc_examples" ))
@@ -886,8 +887,9 @@ def fetch_modules_sde(self, cmd_type: str, version: Version) -> List[str]:
886
887
887
888
def fetch_archives_sde (self , cmd_type : str , version : Version ) -> List [str ]:
888
889
"""Returns list of archives for src/doc/examples"""
889
- assert (
890
- cmd_type in ("src" , "doc" , "examples" ) and self .archive_id .target in ("desktop" , "qt" )
890
+ assert cmd_type in ("src" , "doc" , "examples" ) and self .archive_id .target in (
891
+ "desktop" ,
892
+ "qt" ,
891
893
), "Internal misuse of fetch_archives_sde"
892
894
return self .fetch_archives (version , cmd_type , [], is_sde = True )
893
895
0 commit comments