Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion lieer/gmailieer.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,13 @@ def main(self):
help="Read recipients from message headers. This is always done by GMail. If this option is not specified, the same addresses (as those in the headers) must be specified as additional arguments.",
)

parser_send.add_argument(
"--blocking",
action=argparse.BooleanOptionalAction,
default=True,
help="Whether the call should block on other operations on the local repository, or error out. Defaults to blocking.",
)

parser_send.add_argument(
"-f",
type=str,
Expand Down Expand Up @@ -1011,7 +1018,7 @@ def load_resume(self, f, lastid):
return ResumePull.new(f, lastid)

def send(self, args):
self.setup(args, args.dry_run, True, True)
self.setup(args, args.dry_run, True, args.blocking)
self.remote.get_labels()

msg = sys.stdin.buffer.read()
Expand Down
Loading