On Thu, Feb 3, 2011 at 11:37 AM, Hartmut Goebel
<h.goe...@goebel-consult.de>wrote:

> Hi,
>
> Am 03.02.2011 11:27, schrieb Grégory Starck:
> > on my side I don't need at all this ; and more : I don't see, when the
> > "import shinken" succeed then, why it'd be needed to still change the
> > sys.path to explicitly put in in it the shinken "package" directory.
> >
> > Or am I missing something.. :-?
> I can't see, why this should be needed, too.
>
Yes, I don't know yet, but this is not a test env where I launch this, but
my prod, so it will be hard to crash/test this :)


>
> Further: I can not imagine why the __main__ module could not have a
> __file__ attribute. (At least if __main__ is a Python script.)
>
Yes, but it happened on Windows when you call the subprocess module that
launch again another process, and do not have such an attribute (yes, nasty
bug :) ).



Jean


>
> --
> Schönen Gruß - Regards
> Hartmut Goebel
> Dipl.-Informatiker (univ.), CISSP, CSSLP
>
> [...]
------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Shinken-devel mailing list
Shinken-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/shinken-devel

Reply via email to