Skip to content

Commit 12fd47e

Browse files
committed
black
1 parent 64bd4ba commit 12fd47e

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

aqt/metadata.py

+6-4
Original file line numberDiff line numberDiff line change
@@ -869,8 +869,9 @@ def matches_arch(element: Element) -> bool:
869869

870870
def fetch_modules_sde(self, cmd_type: str, version: Version) -> List[str]:
871871
"""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",
874875
), "Internal misuse of fetch_modules_sde"
875876
qt_ver_str = self._get_qt_version_str(version)
876877
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]:
886887

887888
def fetch_archives_sde(self, cmd_type: str, version: Version) -> List[str]:
888889
"""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",
891893
), "Internal misuse of fetch_archives_sde"
892894
return self.fetch_archives(version, cmd_type, [], is_sde=True)
893895

0 commit comments

Comments
 (0)