Allow 'Media' short for 'MediaObject'

svn: r15322
This commit is contained in:
Doug Blank 2010-05-05 03:19:54 +00:00
parent 98436e2e53
commit e847354d8b

View File

@ -38,7 +38,7 @@ def SelectorFactory(classname):
elif classname == 'Source':
from selectsource import SelectSource
cls = SelectSource
elif classname == 'MediaObject':
elif classname in ['MediaObject', 'Media']:
from selectobject import SelectObject
cls = SelectObject
elif classname == 'Repository':