Index: /WAeUP_SRP/trunk/Accommodation.py
===================================================================
--- /WAeUP_SRP/trunk/Accommodation.py	(revision 5629)
+++ /WAeUP_SRP/trunk/Accommodation.py	(revision 5630)
@@ -115,9 +115,9 @@
                             # fix for ticket futminna 133, can be removed after implementation
                             # of new allocation module 
-                            if bed_record.student=='':
-                                d['student'] = NOT_OCCUPIED
-                                bed_list.modifyRecord(**d)
-                                modified.append('"%(uid)s","%(bt)s","not_occupied"' % vars())
-                                modified_count += 1                                
+                            #if bed_record and bed_record.student=='':
+                            #    d['student'] = NOT_OCCUPIED
+                            #    bed_list.modifyRecord(**d)
+                            #    modified.append('"%(uid)s","%(bt)s","not_occupied"' % vars())
+                            #    modified_count += 1                                
             hall_gen['count']= count
             hall_gen['modified_count']= modified_count
