[Pulp-list] File Extensions

Jeff Ortel jortel at redhat.com
Wed Jun 23 14:53:28 UTC 2010



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
> Pulp-list at redhat.com
> https://www.redhat.com/mailman/listinfo/pulp-list

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5126 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/pulp-list/attachments/20100623/89621665/attachment.p7s>


More information about the Pulp-list mailing list