Permalink
Browse files

Merge branch 'master' of github.com:bluedynamics/souper

  • Loading branch information...
jensens committed Jul 2, 2012
2 parents 5432755 + 0c940ac commit f03d64cb27fb8776f886bf0da5798d45b8ea783a
Showing with 2 additions and 3 deletions.
  1. +1 −2 src/souper/soup.py
  2. +1 −1 src/souper/soup.rst
View
@@ -53,8 +53,7 @@ def __init__(self, soup_name, context):
@property
def storage(self):
- locator = queryAdapter(self.context, IStorageLocator,
- name=self.soup_name)
+ locator = queryAdapter(self.context, IStorageLocator)
if not locator:
raise ValueError("Can't find IStorageLocator adapter for context "
"%s in order to locate soup '%s'." % \
View
@@ -26,7 +26,7 @@ The we need some simple StorageLocator::
... self.context.attrs[soup_name] = SoupData()
... return self.context.attrs[soup_name]
- >>> provideAdapter(StorageLocator, adapts=[Interface], name='mysoup')
+ >>> provideAdapter(StorageLocator, adapts=[Interface])
and query the soup named 'mysoup'.

0 comments on commit f03d64c

Please sign in to comment.