"foo" is the object passed to PackageHub. Boy I'm having a bad day. I'll just go away now.
On Aug 20, 7:23 pm, Kevin <[EMAIL PROTECTED]> wrote: > Sorry. I think I took it too literally. :) I tend to do that > sometimes. > "foo" is the object PackageHub. I looked at it and found this: > > class PackageHub(object): > """Transparently proxies to an AutoConnectHub for the URI > that is appropriate for this package. A package URI is > configured via "packagename.dburi" in the global CherryPy > settings. If there is no package DB URI configured, the > default (provided by "sqlobject.dburi") is used. > > The hub is not instantiated until an attempt is made to > use the database. > """ > > On Aug 20, 7:04 pm, Kevin <[EMAIL PROTECTED]> wrote: > > > "Foo" doesn't really "mean" anything. Its a variable like the "X" in > > "X number of boxes". > > It is used in computer science along with "bar" and "foobar". They are > > basically place holders in a sentence. > > For more see:http://tools.ietf.org/html/rfc3092 > > > On Aug 20, 4:29 pm, Christna <[EMAIL PROTECTED]> wrote: > > > > I am fairly new to TurboGears and would like to distribute my model > > > classes into separate files. > > > > Could anyone direct me to documentation that explains the significance > > > of "foo" in the statement > > > > hub = PackageHub("foo") > > > __connection__ = hub > > > > Thanks for your time. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" 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/turbogears?hl=en -~----------~----~----~----~------~----~------~--~---

