On 06/23/2010 09:49 AM, Jason L Connor wrote:
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__
Oh, damn! You're right. I meant __name__ .
_______________________________________________ Pulp-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/pulp-list
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ Pulp-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/pulp-list
