- Timestamp:
- 01/18/12 14:41:42 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3D/openPLM/document3D/views.py
r644 r664 49 49 multi_image=stp_to_jss.objects.filter(stp=image) 50 50 if multi_image.count()>0: 51 menu_arborescense=stp_to_jss_arborescense.objects.filter(stp=image)[0].js.name 51 #menu_arborescense=stp_to_jss_arborescense.objects.filter(stp=image)[0].js.name 52 menu_arborescense=stp_to_jss_arborescense.objects.filter(stp=image) 53 if menu_arborescense.count()>0: 54 menu_arborescense=menu_arborescense[0].js.name 55 else: 56 menu_arborescense="" 52 57 else: 53 58 #menu_arborescense=stp_to_jss_arborescense.objects.filter(stp=image)[0].js.name … … 70 75 71 76 multi_image=stp_to_jss.objects.filter(stp=image) 72 menu_arborescense=stp_to_jss_arborescense.objects.filter(stp=image)[0].js.name 77 #menu_arborescense=stp_to_jss_arborescense.objects.filter(stp=image)[0].js.name 78 menu_arborescense=stp_to_jss_arborescense.objects.filter(stp=image) 79 if menu_arborescense.count()>0: 80 menu_arborescense=menu_arborescense[0].js.name 81 else: 82 menu_arborescense="" 73 83 #print "EL numero de ficheros es " ,multi_image.count() 74 84
Note: See TracChangeset
for help on using the changeset viewer.