Commits

Kai Diefenbach committed 15b33e3

fixed: local variable 'message' referenced before assignment; back port from 0.7 branch rev eed6b5fc5819

Comments (0)

Files changed (1)

lfs/manage/views/property_groups/property_groups.py

         message = _(u"Properties have been removed.")
 
     else:
+        message = _(u"There are no properties to update.")
         for gp in GroupsPropertiesRelation.objects.filter(group=group_id):
             position = request.POST.get("position-%s" % gp.property.id, 999)
             gp.position = int(position)