Thanks for the change!
Why not
re.sub(r'\W', '', string)
Instead of
filter((lambda x: re.search('[0-9a-z_]', x)), string)
?
--
https://code.launchpad.net/~akretion-team/openerp-product-attributes/openerp-product-attributes_limit_database_column_name/+merge/188014
Your team OpenERP Community is subscribed to branch
lp:openerp-product-attributes.
_______________________________________________
Mailing list: https://launchpad.net/~openerp-community
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openerp-community
More help : https://help.launchpad.net/ListHelp