equal
deleted
inserted
replaced
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] |