vregistry.py
branchtls-sprint
changeset 1282 272d8ec6f308
parent 1149 1e19b6ef53a1
child 1310 99dfced5673e
equal deleted inserted replaced
1277:2eeef019e186 1282:272d8ec6f308
   361                     change = True
   361                     change = True
   362             else:
   362             else:
   363                 directory, filename = split(fileordirectory)
   363                 directory, filename = split(fileordirectory)
   364                 if self.load_file(directory, filename, force_reload):
   364                 if self.load_file(directory, filename, force_reload):
   365                     change = True
   365                     change = True
   366         if change:
       
   367             for registry, objects in self.items():
       
   368                 self.debug('available in registry %s: %s', registry,
       
   369                            sorted(objects))
       
   370         return change
   366         return change
   371     
   367     
   372     def read_directory(self, directory, force_reload=False):
   368     def read_directory(self, directory, force_reload=False):
   373         """read a directory and register available views"""
   369         """read a directory and register available views"""
   374         modified_on = stat(realpath(directory))[-2]
   370         modified_on = stat(realpath(directory))[-2]