Removed util.add_global_options() and frontend.Application

This commit is contained in:
Jason Gerard DeRose
2009-10-13 22:23:19 -06:00
parent f58ff2921d
commit 5c9437b9e6
5 changed files with 4 additions and 109 deletions

View File

@@ -866,7 +866,7 @@ freeIPA.org:
import os
import plugable
from backend import Backend
from frontend import Command, LocalOrRemote, Application
from frontend import Command, LocalOrRemote
from frontend import Object, Method, Property
from crud import Create, Retrieve, Update, Delete, Search
from parameters import DefaultFrom, Bool, Flag, Int, Float, Bytes, Str, Password,List
@@ -900,13 +900,9 @@ def create_api(mode='dummy'):
- `frontend.Property`
- `frontend.Application`
- `backend.Backend`
"""
api = plugable.API(
Command, Object, Method, Property, Application, Backend
)
api = plugable.API(Command, Object, Method, Property, Backend)
if mode is not None:
api.env.mode = mode
assert mode != 'production'