We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent edcb71e commit 0de9234Copy full SHA for 0de9234
datalad/ui/dialog.py
@@ -372,7 +372,8 @@ def question(self,
372
hidden=False,
373
repeat=None):
374
if not can_prompt():
375
- # we are not interactive
+ # need to do a more specific that `is_interactive` check, since `is_interactive` checks
376
+ # all streams including stdin/out which are to "talk" to git-annex, and thus not tty.
377
raise RuntimeError('A terminal required for interactive input in annex remotes')
378
return super(UnderAnnexUI, self).question(
379
text,
0 commit comments