else if( !strcmp( name, "blockuntil" ) && PyString_Check( value ) ) { QDateTime datetime = QDateTime::fromString( PyString_AsString( value ), Qt::ISODate ); if( datetime > QDateTime::currentDateTime() ) { self->account->setBlockUntil( datetime ); } }
int wpAccount_setAttr( wpAccount *self, char *name, PyObject *value ){	if( !strcmp( name, "acl" ) && PyString_Check( value ) )		self->account->setAcl( PyString_AsString( value ) );	else if( !strcmp( name, "password" ) && PyString_Check( value ) )		self->account->setPassword( PyString_AsString( value ) );	else if( !strcmp( name, "flags" ) && PyInt_Check( value ) )		self->account->setFlags( PyInt_AsLong( value ) );	return 0;}