On Tue, Mar 1, 2011 at 10:09 AM, Hartmut Goebel <h.goe...@goebel-consult.de>wrote:
> Am 01.03.2011 10:04, schrieb nap: > > the name string is just bad for such "object". In fact we need a > > "rawobject" property that will just do not touch it, just put as > > default. String was used because we just do not touch them in the > > configuration part, that's all. So we can add a new property class, > > rawobject or something like it, for such object we do not want to > > "Pythonize". > IMHO this should tell something about the type of the property, So > "RawProperty" is not a good name. > Yep > > What are these values used for? Why the default is an empty list? > Because we need a empty list for such thing :) More sériously, we create ALL our properties with this dict, even running one, so list, dict and other pointers we need. Of course we do not use THIS [] because every one share it, that why in item::__init__ we copy the values. Jean > > -- > 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 > > Monatliche Kolumne: http://www.cissp-gefluester.de/ > Goebel Consult mit Mitglied bei http://www.7-it.de > > > > > ------------------------------------------------------------------------------ > Free Software Download: Index, Search & Analyze Logs and other IT data in > Real-Time with Splunk. Collect, index and harness all the fast moving IT > data > generated by your applications, servers and devices whether physical, > virtual > or in the cloud. Deliver compliance at lower cost and gain new business > insights. http://p.sf.net/sfu/splunk-dev2dev > _______________________________________________ > Shinken-devel mailing list > Shinken-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/shinken-devel > >
------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev
_______________________________________________ Shinken-devel mailing list Shinken-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/shinken-devel