Am 27.12.2010 10:44, schrieb nap:
>
>     Maybe someone also has a more performant solution for this one?
>
> It look like a good solution, let take this :)
>
I propose opening (text/config) files in "Universal newline mode", which
is a more generic solution. Otherwise this will become ugly code spread
all over the source and quite sure fail on MAC. See
<http://docs.python.org/whatsnew/2.3.html#pep-278-universal-newline-support>
for more information.

-- 
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

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Shinken-devel mailing list
Shinken-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/shinken-devel

Reply via email to