Changeset 4427 for waeup


Ignore:
Timestamp:
23 Jul 2009, 21:52:31 (15 years ago)
Author:
uli
Message:

Remove unused code (as revealed by coverage reports).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • waeup/branches/ulif-rewrite/src/waeup/university/faculty.py

    r4426 r4427  
    6464    grok.view(Index)
    6565    grok.order(3)
    66 
    67     def getDepartments(self):
    68         """Convinience method to create a sorted list of departments.
    69 
    70         It provides a list of dicts with entries for all data needed by
    71         usual list templates.
    72         """
    73         result = []
    74         for key, val in self.context.items():
    75             result.append(dict(id=key, name=val.title))
    76         return result
    7766
    7867
Note: See TracChangeset for help on using the changeset viewer.