~jplacerda/zeitgeist/784850

« back to all changes in this revision

Viewing changes to doc/zeitgeist/source/conf.py

  • Committer: Mikkel Kamstrup Erlandsen
  • Date: 2010-04-28 19:11:01 UTC
  • mfrom: (1322.1.103 ontology_definition)
  • Revision ID: kamstrup@hardback-20100428191101-9pmau6vlqmna0fow
Merge lp:~zeitgeist/zeitgeist/ontology_definition. This introduces some slight API breaks on the Python level and maybe the need for a DB version upgrade to reflect new URIs here and there. We will tackle these issues in trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
222
222
        if self.object in (ResultType, StorageState):
223
223
            # we sort our enums by integer values
224
224
            r = (r[0], sorted(r[1],  key=lambda x: x[1]))
 
225
        elif isinstance(self.object, Symbol):
 
226
            # we treat symbol objects special and only document their child
 
227
            # symbols
 
228
            return False, sorted((i.name, i) for i in self.object.get_children())
225
229
        return r
226
230
        
227
231