Changeset 1035
- Timestamp:
- 09/02/07 23:17:26 (15 months ago)
- Files:
-
- 1 modified
-
trunk/pyrad/packet.py (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pyrad/packet.py
r1034 r1035 67 67 UserDict.UserDict.__init__(self) 68 68 self.code=code 69 if id !=None:69 if id is not None: 70 70 self.id=id 71 71 else: … … 251 251 return 0 252 252 253 if rawreply ==None:253 if rawreply is None: 254 254 rawreply=reply.ReplyPacket() 255 255 … … 378 378 attr=self._PktEncodeAttributes() 379 379 380 if self.authenticator ==None:380 if self.authenticator is None: 381 381 self.authenticator=self.CreateAuthenticator() 382 382 383 if self.id ==None:383 if self.id is None: 384 384 self.id=self.CreateID() 385 385 … … 435 435 @rtype: string 436 436 """ 437 if self.authenticator ==None:437 if self.authenticator is None: 438 438 self.authenticator=self.CreateAuthenticator() 439 439 … … 506 506 attr=self._PktEncodeAttributes() 507 507 508 if self.id ==None:508 if self.id is None: 509 509 self.id=self.CreateID() 510 510