diff --git a/tools/batch-rebase b/tools/batch-rebase index 03ec4a489fe2484eb928e593150834fdfee05644..d5cc3a3d7276d6b3ac9ec739f8318458888a67cb 100755 --- a/tools/batch-rebase +++ b/tools/batch-rebase @@ -32,9 +32,9 @@ import functools import textwrap import logging import contextlib +import typing from lisa.conf import SimpleMultiSrcConf, KeyDesc, LevelKeyDesc, TopLevelKeyDesc -from lisa._generic import TypedList def info(msg): logging.info(msg) @@ -62,7 +62,7 @@ class BatchRebaseManifest(SimpleMultiSrcConf): ]), LevelKeyDesc('resume', 'Internal state used for resuming after a conflict', [ KeyDesc('conflict-topic', 'Topic where the conflict happened', [str]), - KeyDesc('persistent-refs', 'List of references that needs to be pushed back to the main repo', [TypedList[str]]), + KeyDesc('persistent-refs', 'List of references that needs to be pushed back to the main repo', [typing.Sequence[str]]), LevelKeyDesc('tags', 'Topic branch tags', [ KeyDesc('persistent', 'whether tags should be pushed back or not', [bool]), KeyDesc('suffix', 'suffix to use for tags, or None', [str]),