[cineoob] all fields have to be filled in get_object to get 'field selection' working
This commit is contained in:
parent
c3c0561887
commit
e25e2d0511
1 changed files with 2 additions and 4 deletions
|
|
@ -291,14 +291,12 @@ class Cineoob(ReplApplication):
|
|||
|
||||
Get information about a movie.
|
||||
"""
|
||||
movie = self.get_object(id, 'get_movie',('duration','release_date'))
|
||||
movie = self.get_object(id, 'get_movie')
|
||||
|
||||
if not movie:
|
||||
print >>sys.stderr, 'Movie not found: %s' % id
|
||||
return 3
|
||||
|
||||
#backend.fillobj(movie, ('duration'))
|
||||
|
||||
self.start_format()
|
||||
self.format(movie)
|
||||
self.flush()
|
||||
|
|
@ -309,7 +307,7 @@ class Cineoob(ReplApplication):
|
|||
|
||||
Get information about a person.
|
||||
"""
|
||||
person = self.get_object(id, 'get_person',('birth_date','birth_place'))
|
||||
person = self.get_object(id, 'get_person')
|
||||
|
||||
if not person:
|
||||
print >>sys.stderr, 'Person not found: %s' % id
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue