On Wed, 2010-06-23 at 08:40 -0600, Jason L Connor wrote: > On Wed, 2010-06-23 at 10:28 -0400, Jason Dobies wrote: > > Word, game on. I'll throw a note in the developer guide about that. > > Actually the magic variable __file__ is the full path to the file as > found on the file system. It is *not* a package name. And while it does > lend it self to refactoring it a lot of ways, I don't think that's what > we're looking for, for the loggers. >
I think the variable you're looking for is: __name__ -- Jason L Connor Senior Software Engineer Systems Management and Cloud Enablement Red Hat, Inc. +1.919.890.8331 Freenode: linear
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Pulp-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/pulp-list
