|
Packit |
436967 |
# python-bugzilla - a Python interface to bugzilla using xmlrpclib.
|
|
Packit |
436967 |
#
|
|
Packit |
436967 |
# Copyright (C) 2007, 2008 Red Hat Inc.
|
|
Packit |
436967 |
# Author: Will Woods <wwoods@redhat.com>
|
|
Packit |
436967 |
#
|
|
Packit |
436967 |
# This program is free software; you can redistribute it and/or modify it
|
|
Packit |
436967 |
# under the terms of the GNU General Public License as published by the
|
|
Packit |
436967 |
# Free Software Foundation; either version 2 of the License, or (at your
|
|
Packit |
436967 |
# option) any later version. See http://www.gnu.org/copyleft/gpl.html for
|
|
Packit |
436967 |
# the full text of the license.
|
|
Packit |
436967 |
|
|
Packit |
436967 |
from .apiversion import version, __version__
|
|
Packit |
436967 |
from .base import Bugzilla
|
|
Packit |
436967 |
from .transport import BugzillaError
|
|
Packit |
436967 |
from .rhbugzilla import RHBugzilla
|
|
Packit |
436967 |
from .oldclasses import (Bugzilla3, Bugzilla32, Bugzilla34, Bugzilla36,
|
|
Packit |
436967 |
Bugzilla4, Bugzilla42, Bugzilla44,
|
|
Packit |
436967 |
NovellBugzilla, RHBugzilla3, RHBugzilla4)
|
|
Packit |
436967 |
|
|
Packit |
436967 |
|
|
Packit |
436967 |
# This is the public API. If you are explicitly instantiating any other
|
|
Packit |
436967 |
# class, using some function, or poking into internal files, don't complain
|
|
Packit |
436967 |
# if things break on you.
|
|
Packit |
436967 |
__all__ = [
|
|
Packit |
436967 |
"Bugzilla3", "Bugzilla32", "Bugzilla34", "Bugzilla36",
|
|
Packit |
436967 |
"Bugzilla4", "Bugzilla42", "Bugzilla44",
|
|
Packit |
436967 |
"NovellBugzilla",
|
|
Packit |
436967 |
"RHBugzilla3", "RHBugzilla4", "RHBugzilla",
|
|
Packit |
436967 |
'BugzillaError',
|
|
Packit |
436967 |
'Bugzilla', "version",
|
|
Packit |
436967 |
]
|
|
Packit |
436967 |
|
|
Packit |
436967 |
|
|
Packit |
436967 |
# Clear all other locals() from the public API
|
|
Packit |
436967 |
for __sym in locals().copy():
|
|
Packit |
436967 |
if __sym.startswith("__") or __sym in __all__:
|
|
Packit |
436967 |
continue
|
|
Packit |
436967 |
locals().pop(__sym)
|
|
Packit |
436967 |
locals().pop("__sym")
|