Commit 5f498254 authored by Romain Courteaud's avatar Romain Courteaud

romain_dev: wip svg generator

parent 74f06b3e
bt5_update_catalog_list = ('erp5_ingestion_mysql_innodb_catalog', 'erp5_full_text_mroonga_catalog')
bt5_installation_list = bt5_update_catalog_list + ('erp5_xhtml_style',
'romain_dev',
# 'erp5_officejs', 'erp5_web_jabber_client',
# 'erp5_officejs_ooffice',
'erp5_upgrader',
......@@ -74,5 +75,7 @@ bt5_installation_list = bt5_update_catalog_list + ('erp5_xhtml_style',
'erp5_web_js_style',
'erp5_web_js_style_test',
'erp5_officejs_appstore_base',
# 'erp5_oauth2_authorization',
# 'erp5_oauth2_resource',
)
return bt5_installation_list, []
from AccessControl import getSecurityManager
from pprint import pformat
# vgetattr = context.test_vincent_getattr
user = getSecurityManager().getUser()
print 'User :', repr(user)
# print '__dict__:', vgetattr(user, '__dict__')
print 'Id :', repr(user.getId())
print 'Name :', repr(user.getUserName())
print 'Roles :', repr(user.getRoles())
print 'Groups :', repr(getattr(user, 'getGroups', lambda: None)())
print 'Document:', repr(user.getUserValue())
print 'Login :', repr(user.getLoginValue())
"""
print 'Properties:', pformat({
x: user.getPropertysheet(x).propertyItems()
for x in getattr(user, 'listPropertysheets', lambda: ())()
})
"""
return printed
from DateTime import DateTime
context.edit(start_date=DateTime())
return "ok"
sql_catalog = context.getPortalObject().portal_catalog.getSQLCatalog()
invalid_column_list = []
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment