Fix uninitialized attributes.

This commit is contained in:
Jan Cholasta
2011-04-21 10:13:06 +02:00
committed by Martin Kosek
parent ccde115421
commit 5700920627
5 changed files with 11 additions and 0 deletions

View File

@@ -45,6 +45,8 @@ class ACI:
"""
def __init__(self,acistr=None):
self.name = None
self.source_group = None
self.dest_group = None
self.orig_acistr = acistr
self.target = {}
self.action = "allow"