Remove obsolete code
This commit is contained in:
parent
60c122523b
commit
e9abce7d12
1 changed files with 8 additions and 12 deletions
|
@ -286,7 +286,6 @@ class API(object):
|
||||||
cast = []
|
cast = []
|
||||||
producer = []
|
producer = []
|
||||||
for child in self.item:
|
for child in self.item:
|
||||||
try:
|
|
||||||
if child.tag == 'Director':
|
if child.tag == 'Director':
|
||||||
director.append(child.attrib['tag'])
|
director.append(child.attrib['tag'])
|
||||||
elif child.tag == 'Writer':
|
elif child.tag == 'Writer':
|
||||||
|
@ -295,9 +294,6 @@ class API(object):
|
||||||
cast.append(child.attrib['tag'])
|
cast.append(child.attrib['tag'])
|
||||||
elif child.tag == 'Producer':
|
elif child.tag == 'Producer':
|
||||||
producer.append(child.attrib['tag'])
|
producer.append(child.attrib['tag'])
|
||||||
except KeyError:
|
|
||||||
LOG.warn('Malformed PMS answer for getPeople: %s: %s',
|
|
||||||
child.tag, child.attrib)
|
|
||||||
return {
|
return {
|
||||||
'Director': director,
|
'Director': director,
|
||||||
'Writer': writer,
|
'Writer': writer,
|
||||||
|
|
Loading…
Reference in a new issue