from pylons.i18n import ugettext as _
from paste.registry import StackedObjectProxy
from feed import Feed

# The central feed cache, used by the Feed widget.
feed_cache = StackedObjectProxy()

# All loaded moksha applications
apps = StackedObjectProxy()

# All loaded ToscaWidgets
_widgets = StackedObjectProxy()

# Per-request stomp callbacks registered by rendered widget
stomp = StackedObjectProxy()

def get_widget(name):
    """ Get an widget by name.

    This method returns a dictionary in the following format:

        { 'name': 'widgetname',
          'widget': <Widget instance>,
          'path': '/path/to/widget' }
    """
    return _widgets[name]

@@ -432,17 +432,16 @@
 %22%22 Get a
-n
  widget 

Fix a typo