Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --- p4a/plonevideoembed/__init__.py.orig 2007-12-03 15:19:04.000000000 -0600
- +++ p4a/plonevideoembed/__init__.py 2010-01-31 21:27:17.000000000 -0600
- @@ -14,7 +14,10 @@
- if activation.media_activated:
- return False
- - find_type = component.getUtility(baseifaces.IURLType)
- + find_type = component.queryUtility(baseifaces.IURLType)
- + if find_type is None:
- + return False
- +
- provider = baseifaces.ILinkProvider(Acquisition.aq_base(obj))
- url = provider.getLink()
Add Comment
Please, Sign In to add comment