~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to loggerhead/controllers/__init__.py

  • Committer: Michael Hudson
  • Date: 2007-05-30 09:03:52 UTC
  • mfrom: (128.1.15 testing)
  • Revision ID: michael.hudson@canonical.com-20070530090352-2hdhyvs7jxgpoz1e
merge in the fix for #92435 too

Show diffs side-by-side

added added

removed removed

Lines of Context:
61
61
            self._recheck_auto_folders()
62
62
    
63
63
    def _recheck_auto_folders(self):
64
 
        log.debug('recheck...')
65
64
        if self._auto_folder is None:
66
65
            return
67
66
        auto_list = []
74
73
        auto_list.sort()
75
74
        if auto_list == self._auto_list:
76
75
            # nothing has changed; do nothing.
77
 
            log.debug('ok')
78
76
            return
79
77
 
80
78
        # rebuild views:
109
107
    def index(self):
110
108
        for p in self._projects:
111
109
            p._recheck_auto_folders()
112
 
        log.debug('%r' % {
 
110
        return {
113
111
            'projects': self._projects,
114
112
            'util': util,
115
113
            'title': self._config.get('title', ''),
116
 
        })
117
 
        return {}
 
114
        }
118
115
 
119
116
    def _check_rebuild(self):
120
117
        for p in self._projects: