Changeset 1065
- Timestamp:
- 09/13/07 23:51:17 (15 months ago)
- Files:
-
- 1 modified
-
trunk/pyrad/server.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pyrad/server.py
r1064 r1065 62 62 MaxPacketSize = 8192 63 63 64 def __init__(self, addresses=[], authport=1812, acctport=1813, hosts= {}, dict=None):64 def __init__(self, addresses=[], authport=1812, acctport=1813, hosts=None, dict=None): 65 65 """Constructor. 66 66 … … 77 77 """ 78 78 host.Host.__init__(self, authport, acctport, dict) 79 self.hosts=hosts 79 if hosts is None: 80 self.hosts={} 81 else: 82 self.hosts=hosts 80 83 81 84 self.authfds=[]