[hntool] push by hugodoria - Renaming the master rule class on 2010-08-22 14:49 GMT

0 views
Skip to first unread message

hnt...@googlecode.com

unread,
Aug 22, 2010, 10:50:00 AM8/22/10
to hnt...@googlegroups.com
Revision: 2ef66096c5
Author: Hugo Doria <hugo...@gmail.com>
Date: Sun Aug 22 07:48:58 2010
Log: Renaming the master rule class
http://code.google.com/p/hntool/source/detail?r=2ef66096c5

Modified:
/HnTool/modules/apache.py
/HnTool/modules/authentication.py
/HnTool/modules/filesystems.py
/HnTool/modules/php.py
/HnTool/modules/ports.py
/HnTool/modules/postgresql.py
/HnTool/modules/proftpd.py
/HnTool/modules/remote.py
/HnTool/modules/rule.py
/HnTool/modules/ssh.py
/HnTool/modules/system-wide.py
/HnTool/modules/vsftpd.py

=======================================
--- /HnTool/modules/apache.py Wed May 26 08:06:53 2010
+++ /HnTool/modules/apache.py Sun Aug 22 07:48:58 2010
@@ -23,7 +23,7 @@
import os
import commands
import stat
-from HnTool.modules.rule import Rule as MasterRule
+from HnTool.modules.rule import MasterRule

class Rule(MasterRule):
def __init__(self, options):
=======================================
--- /HnTool/modules/authentication.py Sun May 16 16:43:59 2010
+++ /HnTool/modules/authentication.py Sun Aug 22 07:48:58 2010
@@ -21,7 +21,7 @@
import os
import stat
import HnTool.modules.util
-from HnTool.modules.rule import Rule as MasterRule
+from HnTool.modules.rule import MasterRule

class Rule(MasterRule):
def __init__(self, options):
=======================================
--- /HnTool/modules/filesystems.py Sun May 16 16:43:59 2010
+++ /HnTool/modules/filesystems.py Sun Aug 22 07:48:58 2010
@@ -20,7 +20,7 @@

import os
import commands
-from HnTool.modules.rule import Rule as MasterRule
+from HnTool.modules.rule import MasterRule

class Rule(MasterRule):
def __init__(self, options):
=======================================
--- /HnTool/modules/php.py Fri May 28 06:42:43 2010
+++ /HnTool/modules/php.py Sun Aug 22 07:48:58 2010
@@ -21,7 +21,7 @@
import os
import ConfigParser
import HnTool.modules.util
-from HnTool.modules.rule import Rule as MasterRule
+from HnTool.modules.rule import MasterRule

class Rule(MasterRule):
def __init__(self, options):
=======================================
--- /HnTool/modules/ports.py Sun May 16 16:43:59 2010
+++ /HnTool/modules/ports.py Sun Aug 22 07:48:58 2010
@@ -20,7 +20,7 @@

import os
import re
-from HnTool.modules.rule import Rule as MasterRule
+from HnTool.modules.rule import MasterRule

class Rule(MasterRule):
def __init__(self, options):
=======================================
--- /HnTool/modules/postgresql.py Fri May 28 06:42:43 2010
+++ /HnTool/modules/postgresql.py Sun Aug 22 07:48:58 2010
@@ -20,7 +20,7 @@

import os
import shlex
-from HnTool.modules.rule import Rule as MasterRule
+from HnTool.modules.rule import MasterRule

class Rule(MasterRule):
def __init__(self, options):
=======================================
--- /HnTool/modules/proftpd.py Thu May 27 11:45:54 2010
+++ /HnTool/modules/proftpd.py Sun Aug 22 07:48:58 2010
@@ -20,7 +20,7 @@

import os
import HnTool.modules.util
-from HnTool.modules.rule import Rule as MasterRule
+from HnTool.modules.rule import MasterRule

class Rule(MasterRule):
def __init__(self, options):
=======================================
--- /HnTool/modules/remote.py Sun May 16 16:43:59 2010
+++ /HnTool/modules/remote.py Sun Aug 22 07:48:58 2010
@@ -19,7 +19,7 @@
#

import os
-from HnTool.modules.rule import Rule as MasterRule
+from HnTool.modules.rule import MasterRule

class Rule(MasterRule):
def __init__(self, options):
=======================================
--- /HnTool/modules/rule.py Wed May 26 08:06:53 2010
+++ /HnTool/modules/rule.py Sun Aug 22 07:48:58 2010
@@ -20,7 +20,7 @@

import os

-class Rule:
+class MasterRule:
def __init__(self, options):
'''Type must be "config" or "files"
short_name
=======================================
--- /HnTool/modules/ssh.py Wed May 26 08:06:53 2010
+++ /HnTool/modules/ssh.py Sun Aug 22 07:48:58 2010
@@ -20,7 +20,7 @@

import os
import HnTool.modules.util
-from HnTool.modules.rule import Rule as MasterRule
+from HnTool.modules.rule import MasterRule

class Rule(MasterRule):
def __init__(self, options):
=======================================
--- /HnTool/modules/system-wide.py Sun May 16 16:43:59 2010
+++ /HnTool/modules/system-wide.py Sun Aug 22 07:48:58 2010
@@ -20,7 +20,7 @@

import os
import stat
-from HnTool.modules.rule import Rule as MasterRule
+from HnTool.modules.rule import MasterRule

class Rule(MasterRule):
def __init__(self, options):
=======================================
--- /HnTool/modules/vsftpd.py Tue Jun 1 18:01:11 2010
+++ /HnTool/modules/vsftpd.py Sun Aug 22 07:48:58 2010
@@ -19,7 +19,7 @@
#

import os
-from HnTool.modules.rule import Rule as MasterRule
+from HnTool.modules.rule import MasterRule

class Rule(MasterRule):
def __init__(self, options):

Reply all
Reply to author
Forward
0 new messages