diff options
Diffstat (limited to 'src/debputy/dh_migration/migrators_impl.py')
-rw-r--r-- | src/debputy/dh_migration/migrators_impl.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/debputy/dh_migration/migrators_impl.py b/src/debputy/dh_migration/migrators_impl.py index d7aa252..2ceefd5 100644 --- a/src/debputy/dh_migration/migrators_impl.py +++ b/src/debputy/dh_migration/migrators_impl.py @@ -432,7 +432,7 @@ def migrate_bash_completion( install_as_rules.append((source, dest_basename)) if install_dest_sources: - sources = ( + sources: Union[List[str], str] = ( install_dest_sources if len(install_dest_sources) > 1 else install_dest_sources[0] @@ -1502,7 +1502,7 @@ def read_dh_addon_sequences( ctrl_file = debian_dir.get("control") if ctrl_file: dr_sequences: Set[str] = set() - bd_sequences = set() + bd_sequences: Set[str] = set() drules = debian_dir.get("rules") if drules and drules.is_file: |