def run_shell(self):
        for shell in self.shells:
            try:
                return getattr(self, shell)()
            except __HOLE__:
                pass
        raise ImportError
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.3/django/core/management/commands/shell.py/Command.run_shell