On Mon, 05 Oct 2009 14:49:42 +0100, Chris Colbert <sccolb...@gmail.com> wrote:

I dont think so, because that would require logic outside of the
controller class to determine which controller to instantiate.

My whole purpose for Controller is to encapsulate this logic.

So, if the data should be simulated, then i just need to pass
-simulate True as a command line argument, and the controller takes
care of it...

I almost hate to point it out, but that command line argument is
"logic outside of the controller class to determine which controller
to instantiate."  It's also a darn sight easier to code.

--
Rhodri James *-* Wildebeest Herder to the Masses
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to