fix ExampleModule -> LogWatchModule
authorTero Marttila <terom@paivola.fi>
Fri, 21 Mar 2008 02:06:52 +0200
changeset 10 687b797f709c
parent 9 75cc996c6ba1
child 11 2d33d62cd8f8
fix ExampleModule -> LogWatchModule

committer: Tero Marttila <terom@paivola.fi>
logwatcher.py
--- a/logwatcher.py	Fri Mar 21 02:06:34 2008 +0200
+++ b/logwatcher.py	Fri Mar 21 02:06:52 2008 +0200
@@ -78,7 +78,7 @@
     REGEXP  = "(?P<success>Accepted|Failed) password for (?P<username>\S+) from (?P<ip>\S+) port (?P<port>\S+) (?P<proto>\S+)"
     OUTPUT  = "%(success)s login for %(username)s from %(ip)s:%(port)s proto %(proto)s"
 
-class ExampleModule (api.Module) :
+class LogWatchModule (api.Module) :
     name = "logs"
     version = 0x0001
     
@@ -113,5 +113,5 @@
         self.sendEvent("error", msg)
 
 if __name__ == '__main__' :
-    ExampleModule().run()
+    LogWatchModule().run()