> -----Original Message----- > From: [email protected] [mailto:[EMAIL PROTECTED] On > Behalf Of Remy Blank > Sent: Monday, November 03, 2008 1:59 PM > To: [email protected] > Subject: [Trac-dev] Re: Modularizing trac-admin > > osimons wrote: > > Interesting questions. > > I've got one more: > > - Should the command handlers receive an "out" and an "err" parameter > as the output and error streams and use these for printing, or should > they use sys.stdout and sys.stderr instead? > > + commands can be called from a non-console context > - all command handlers get two additional, rarely-used arguments
I don't see why we would want to call console admin commands directly instead of making a webadmin UI. All the interesting cases would require elevated permissions anyway. I have code in tracforge to do all of this, as well as rehooking stdout and stderr. --Noah --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Trac Development" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-dev?hl=en -~----------~----~----~----~------~----~------~--~---
