Dnia 01.11.2009 Santiago M. Mola <[email protected]> napisaĆ/a:
> Hi,
>
> It seems there's a problem with userinterface_terminal.py, which gives
> problems when stdout is not a terminal but, for example, a pipe.
Did you mean userinterfaces/terminal_interface.py ?
The interface is what it says - it assumes an interactive UNIX tty
as the communication method with the user.
I think there could be another interface implemented (for example
batch_interface.py for bots running from cron(8)) that handles
non-interactive environments. For example, by raising an Exception
whenever a question to the user is presented or
taking decision from some kind of decision file.
--
<< Marcin Cieslak // [email protected] >>
_______________________________________________
Pywikipedia-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l