aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKonstantin Ryabitsev <konstantin@linuxfoundation.org>2024-05-01 17:11:38 -0400
committerKonstantin Ryabitsev <konstantin@linuxfoundation.org>2024-05-01 17:11:38 -0400
commitd87aa71e066e57599c66321e7923bbdce8c00ccb (patch)
tree84f64882ac91be3edbe3960e27e3c320f293802d
parentb590645c19ef1e1ebbc3a6b7c7fc2d58e35846ac (diff)
parent01a33087dc5a5cf19efca240a8d80b98e7823c7b (diff)
downloadb4-d87aa71e066e57599c66321e7923bbdce8c00ccb.tar.gz
Merge branch 'ez' of https://github.com/akihikodaki/b4
Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
-rw-r--r--src/b4/ez.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/b4/ez.py b/src/b4/ez.py
index 8bc1302..e1a4d67 100644
--- a/src/b4/ez.py
+++ b/src/b4/ez.py
@@ -1862,7 +1862,7 @@ def cmd_send(cmdargs: argparse.Namespace) -> None:
if not cmdargs.resend:
logger.debug('Running pre-flight checks')
- sinfo = get_info()
+ sinfo = get_info(usebranch=mybranch)
pfchecks = {'needs-editing': True,
'needs-checking': True,
'needs-checking-deps': True,
@@ -2409,7 +2409,7 @@ def show_info(param: str) -> None:
sys.exit(1)
-def get_info(usebranch: Optional[str] = None) -> Dict[str, str]:
+def get_info(usebranch: str) -> Dict[str, str]:
is_prep_branch(mustbe=True, usebranch=usebranch)
info = dict()
info['branch'] = usebranch