Use transaction.get() instead of getTransaction().
Replace use of type('') with basestring. The code didn't call setLocalTransaction(), so getTransaction() always did the same thing as transaction.get().
Showing
Please register or sign in to comment