Browse files

Fix handling of responses to queries from metadata grabbers when prov…

…ided with no output, rather than the expected of output with no results.

git-svn-id: 7dbf422c-18fa-0310-86e9-fd20926502f2
  • Loading branch information...
wagnerrp committed Nov 12, 2010
1 parent f2aa4c3 commit 21af898e841035e550ac8105e7861c8679230011
Showing with 6 additions and 1 deletion.
  1. +6 −1 mythtv/bindings/python/MythTV/
@@ -212,7 +212,12 @@ def _process(self, xml):
class Grabber( System ):
def _processMetadata(self, xml):
for item in etree.fromstring(xml).getiterator('item'):
xml = etree.fromstring(xml)
raise StopIteration
for item in xml.getiterator('item'):
yield self.cls(item)
def command(self, *args):

0 comments on commit 21af898

Please sign in to comment.