[gen] Bugfix in AbstractWrapper.

This commit is contained in:
Gaetan Delannay 2013-05-17 17:11:22 +02:00
parent d45e314ac1
commit 4c6c72935a

View file

@ -120,6 +120,7 @@ class AbstractWrapper(object):
if user: return user
if self.o.getUser().getUserName() == 'System Processes':
return self.search1('User', noSecurity=True, login='admin')
return
elif name == 'fields': return self.o.getAllAppyTypes()
elif name == 'siteUrl': return self.o.getTool().getSiteUrl()
# Now, let's try to return a real attribute.