Commits

Tay Ray Chuan committed 5c8f7a1

satchmo_product_admin: don't wrap in ()

It evalutates to non-list anyway.

  • Participants
  • Parent commits ccc55c6

Comments (0)

Files changed (1)

File satchmo/apps/product/templatetags/satchmo_product_admin.py

             #opt_pks = ','.join(opt_pks)
             # TODO [NFA]: Blocked by Django ticket #7738.
             opt_pks = ''
-            add_url = ('/admin/product/productvariation/add/' +
+            add_url = '/admin/product/productvariation/add/' + \
                 "?product=%s&parent=%s&options=%s" % (
                 configurableproduct.product.pk, configurableproduct.product.pk,
-                opt_pks))
+                opt_pks)
             output += """
             <tr>
             <td>%s</td>