Package logsparser :: Package extras
[frames] | no frames]

Source Code for Package logsparser.extras

 1  # -*- coding: utf-8 -*- 
 2   
 3  # -*- python -*- 
 4   
 5  # pylogsparser - Logs parsers python library 
 6  # 
 7  # Copyright (C) 2011 Wallix Inc. 
 8  # 
 9  # This library is free software; you can redistribute it and/or modify it 
10  # under the terms of the GNU Lesser General Public License as published by the 
11  # Free Software Foundation; either version 2.1 of the License, or (at your 
12  # option) any later version. 
13  # 
14  # This library is distributed in the hope that it will be useful, but WITHOUT 
15  # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 
16  # FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more 
17  # details. 
18  # 
19  # You should have received a copy of the GNU Lesser General Public License 
20  # along with this library; if not, write to the Free Software Foundation, Inc., 
21  # 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 
22  # 
23   
24  from domain_parser import get_domain 
25  from robots import robot_regex 
26