~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to ivle/dispatch/__init__.py

  • Committer: William Grant
  • Date: 2009-12-02 04:18:00 UTC
  • mto: This revision was merged to the branch mainline in revision 1353.
  • Revision ID: grantw@unimelb.edu.au-20091202041800-6t9qtc7phud1vmqv
Fix route typo.

Show diffs side-by-side

added added

removed removed

Lines of Context:
102
102
                    r.add_forward(*fr)
103
103
 
104
104
        if hasattr(plugin, reverse_route_attr):
105
 
            for fr in getattr(plugin, reverse_route_attr):
 
105
            for rr in getattr(plugin, reverse_route_attr):
106
106
                # An annotated function can also be passed in directly.
107
107
                if hasattr(rr, '_reverse_route_src'):
108
108
                    r.add_reverse_func(rr)