Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/bareos/bareos.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoerg Steffens <joerg.steffens@bareos.com>2020-12-28 18:18:22 +0300
committerJoerg Steffens <joerg.steffens@bareos.com>2021-01-29 14:47:37 +0300
commit7d03d893a104e3c1ebb01859267282a5bd5cb2a0 (patch)
tree7135f22a8a4e267b18a9f689d6406ae733f90c49 /python-bareos
parent94a878fe471c4f1a57662474e870fe66d718a48e (diff)
python-bareos: remove imports, to prevent problems with sphinx autodoc
Diffstat (limited to 'python-bareos')
-rw-r--r--python-bareos/bareos/__init__.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/python-bareos/bareos/__init__.py b/python-bareos/bareos/__init__.py
index 1037bfb50..3b12b1a04 100644
--- a/python-bareos/bareos/__init__.py
+++ b/python-bareos/bareos/__init__.py
@@ -17,7 +17,9 @@
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301, USA.
-# __all__ = [ "bconsole" ]
+"""
+`python-bareos` module.
+"""
import os.path
@@ -37,5 +39,5 @@ else:
from bareos.exceptions import *
from bareos.util.password import Password
-import bareos.util
-import bareos.bsock
+
+__all__ = [ "bsock", "exceptions", "util", "Password" ]