1 # This file was automatically generated by SWIG (http://www.swig.org).
4 # Don't modify this file, modify the SWIG interface instead.
5 # This file is compatible with both classic and new-style classes.
9 new_instancemethod = new.instancemethod
11 _swig_property = property
13 pass # Python < 2.2 doesn't have 'property'.
14 def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
15 if (name == "thisown"): return self.this.own(value)
17 if type(value).__name__ == 'PySwigObject':
18 self.__dict__[name] = value
20 method = class_type.__swig_setmethods__.get(name,None)
21 if method: return method(self,value)
22 if (not static) or hasattr(self,name):
23 self.__dict__[name] = value
25 raise AttributeError("You cannot add attributes to %s" % self)
27 def _swig_setattr(self,class_type,name,value):
28 return _swig_setattr_nondynamic(self,class_type,name,value,0)
30 def _swig_getattr(self,class_type,name):
31 if (name == "thisown"): return self.this.own()
32 method = class_type.__swig_getmethods__.get(name,None)
33 if method: return method(self)
34 raise AttributeError,name
37 try: strthis = "proxy of " + self.this.__repr__()
39 return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
43 _object = types.ObjectType
45 except AttributeError:
51 system_session = _auth.system_session
52 system_session_anon = _auth.system_session_anon