##// END OF EJS Templates
navigation: change the code for pep8 to stop complaining
marcink -
r2323:275fce39 default
parent child Browse files
Show More
@@ -109,9 +109,9 b' class NavigationRegistry(object):'
109 _labs_entry = NavEntry('labs', _('Labs'), 'admin_settings_labs')
109 _labs_entry = NavEntry('labs', _('Labs'), 'admin_settings_labs')
110
110
111 def __init__(self, labs_active=False):
111 def __init__(self, labs_active=False):
112 self._registered_entries = collections.OrderedDict([
112 self._registered_entries = collections.OrderedDict()
113 (item.key, item) for item in self.__class__._base_entries
113 for item in self.__class__._base_entries:
114 ])
114 self._registered_entries[item.key] = item
115
115
116 if labs_active:
116 if labs_active:
117 self.add_entry(self._labs_entry)
117 self.add_entry(self._labs_entry)
General Comments 0
You need to be logged in to leave comments. Login now