Jeff Mahoney 3dff52
# python-bugzilla - a Python interface to bugzilla using xmlrpclib.
Jeff Mahoney 3dff52
#
Jeff Mahoney 3dff52
# Copyright (C) 2007, 2008 Red Hat Inc.
Jeff Mahoney 3dff52
# Author: Will Woods <wwoods@redhat.com>
Jeff Mahoney 3dff52
#
Michal Koutný ccf7f1
# This work is licensed under the GNU GPLv2 or later.
Michal Koutný ccf7f1
# See the COPYING file in the top-level directory.
Jeff Mahoney 3dff52
Jeff Mahoney 3dff52
from .apiversion import version, __version__
Jeff Mahoney 3dff52
from .base import Bugzilla
Michal Koutný ccf7f1
from .exceptions import BugzillaError
Jeff Mahoney 3dff52
from .oldclasses import (Bugzilla3, Bugzilla32, Bugzilla34, Bugzilla36,
Jeff Mahoney 3dff52
        Bugzilla4, Bugzilla42, Bugzilla44,
Michal Koutný ccf7f1
        NovellBugzilla, RHBugzilla, RHBugzilla3, RHBugzilla4)
Jeff Mahoney 3dff52
Jeff Mahoney 3dff52
Jeff Mahoney 3dff52
# This is the public API. If you are explicitly instantiating any other
Jeff Mahoney 3dff52
# class, using some function, or poking into internal files, don't complain
Jeff Mahoney 3dff52
# if things break on you.
Jeff Mahoney 3dff52
__all__ = [
Jeff Mahoney 3dff52
    "Bugzilla3", "Bugzilla32", "Bugzilla34", "Bugzilla36",
Jeff Mahoney 3dff52
    "Bugzilla4", "Bugzilla42", "Bugzilla44",
Jeff Mahoney 3dff52
    "NovellBugzilla",
Jeff Mahoney 3dff52
    "RHBugzilla3", "RHBugzilla4", "RHBugzilla",
Jeff Mahoney 3dff52
    'BugzillaError',
Jeff Mahoney 3dff52
    'Bugzilla', "version",
Jeff Mahoney 3dff52
]
Jeff Mahoney 3dff52
Jeff Mahoney 3dff52
Jeff Mahoney 3dff52
# Clear all other locals() from the public API
Jeff Mahoney 3dff52
for __sym in locals().copy():
Jeff Mahoney 3dff52
    if __sym.startswith("__") or __sym in __all__:
Jeff Mahoney 3dff52
        continue
Jeff Mahoney 3dff52
    locals().pop(__sym)
Jeff Mahoney 3dff52
locals().pop("__sym")