Add support for python 2.7.
add in product create layer (bug 936680)