Am 31.01.2011 23:07, schrieb Aurélien Degrémont: > Regarding check, verifications, data handling, etc... > If you've got an object it will be easier to add such manipulation > directly in the CheckResult class. You are absolutely right here. I normay do this kind of stuff. I just changes the draft code I wrote this evening. > Simply __str__() from the CheckResults object. Ack. >> Open questions: >> >> * Should we use optparse or argparse? optparse is standard since Python >> 2.3 (AFAIR). argparse is standard staring with Python 2.7, but is >> available for 2.4, too (AFAIK). argparse has a much cleaner interface. > Developping is to ease users and make live not to hard to developers. :) > So in this case, if you want to help your users, avoid for them the need > to install another new python package. Well, if you install Pyro or Pyro plus another package should not be much of a difference. Don't so think? > And I think check command line is very simple and optparse is enough for > that But the argparse interface is much more consistent. You'll get all arguments (optional and positional) in a single "namespace". > (by the way, argparse is widely package for major distributions) I don't understand this sentence.
-- Schönen Gruß - Regards Hartmut Goebel Dipl.-Informatiker (univ.), CISSP, CSSLP Goebel Consult Spezialist für IT-Sicherheit in komplexen Umgebungen http://www.goebel-consult.de/blog Monatliche Kolumne: http://www.cissp-gefluester.de/ Goebel Consult mit Mitglied bei http://www.7-it.de
smime.p7s
Description: S/MIME Cryptographic Signature
------------------------------------------------------------------------------ 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