This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository python-x2go. commit a6cdbeccc37c371e40d9466f6e153263fc049f3b Author: Mike Gabriel <mike.gabriel@das-netzwerkteam.de> Date: Sun Sep 24 10:47:38 2017 +0200 x2go/**.py: Add __package__ and __name__ definitions to all Python files. --- x2go/__init__.py | 4 +++- x2go/_paramiko.py | 3 ++- x2go/backends/__init__.py | 3 +++ x2go/backends/control/__init__.py | 3 +++ x2go/backends/control/plain.py | 3 +++ x2go/backends/info/__init__.py | 3 +++ x2go/backends/info/plain.py | 3 +++ x2go/backends/printing/__init__.py | 3 +++ x2go/backends/printing/file.py | 4 ++++ x2go/backends/printing/winreg.py | 3 +++ x2go/backends/profiles/__init__.py | 2 ++ x2go/backends/profiles/base.py | 4 ++++ x2go/backends/profiles/file.py | 3 +++ x2go/backends/profiles/httpbroker.py | 3 +++ x2go/backends/profiles/sshbroker.py | 3 +++ x2go/backends/profiles/winreg.py | 3 +++ x2go/backends/proxy/__init__.py | 3 +++ x2go/backends/proxy/base.py | 3 +++ x2go/backends/proxy/nx3.py | 3 +++ x2go/backends/settings/__init__.py | 3 +++ x2go/backends/settings/file.py | 3 +++ x2go/backends/settings/winreg.py | 3 +++ x2go/backends/terminal/__init__.py | 3 +++ x2go/backends/terminal/plain.py | 3 +++ x2go/cache.py | 3 +++ x2go/checkhosts.py | 3 +++ x2go/cleanup.py | 3 +++ x2go/client.py | 3 +++ x2go/defaults.py | 3 +++ x2go/forward.py | 3 +++ x2go/gevent_subprocess.py | 3 +++ x2go/guardian.py | 3 +++ x2go/inifiles.py | 3 +++ x2go/log.py | 3 +++ x2go/mimebox.py | 3 +++ x2go/mimeboxactions.py | 3 +++ x2go/printactions.py | 3 +++ x2go/printqueue.py | 3 +++ x2go/pulseaudio.py | 3 +++ x2go/registry.py | 3 +++ x2go/rforward.py | 3 +++ x2go/session.py | 3 +++ x2go/sftpserver.py | 3 +++ x2go/sshproxy.py | 3 +++ x2go/telekinesis.py | 3 +++ x2go/tests/__init__.py | 3 +++ x2go/tests/runalltests.py | 3 +++ x2go/tests/test_printing.py | 3 +++ x2go/utils.py | 3 +++ x2go/x2go_exceptions.py | 3 +++ x2go/xserver.py | 3 +++ 51 files changed, 153 insertions(+), 2 deletions(-) diff --git a/x2go/__init__.py b/x2go/__init__.py index 4672679..0ea38e0 100644 --- a/x2go/__init__.py +++ b/x2go/__init__.py @@ -184,7 +184,9 @@ Contact __NAME__ = 'python-x2go' __VERSION__ = '0.5.99.0' -__PACKAGE__ = 'x2go' + +__package__ = 'x2go' +__name__ = 'x2go' import os from .defaults import X2GOCLIENT_OS diff --git a/x2go/_paramiko.py b/x2go/_paramiko.py index 7d9c958..278ae99 100644 --- a/x2go/_paramiko.py +++ b/x2go/_paramiko.py @@ -23,7 +23,8 @@ Monkey Patch and feature map for Python Paramiko """ from builtins import str -__PACKAGE__ = 'x2go' +__package__ = 'x2go' +__name__ = 'x2go._paramiko' import paramiko import re diff --git a/x2go/backends/__init__.py b/x2go/backends/__init__.py index c154253..0432049 100644 --- a/x2go/backends/__init__.py +++ b/x2go/backends/__init__.py @@ -16,3 +16,6 @@ # along with this program; if not, write to the # Free Software Foundation, Inc., # 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + +__package__ = 'x2go.backends' +__name__ = 'x2go.backends' \ No newline at end of file diff --git a/x2go/backends/control/__init__.py b/x2go/backends/control/__init__.py index c154253..acd23d6 100644 --- a/x2go/backends/control/__init__.py +++ b/x2go/backends/control/__init__.py @@ -16,3 +16,6 @@ # along with this program; if not, write to the # Free Software Foundation, Inc., # 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + +__package__ = 'x2go.backends.control' +__name__ = 'x2go.backends.control' \ No newline at end of file diff --git a/x2go/backends/control/plain.py b/x2go/backends/control/plain.py index 435f5ca..b788cb3 100644 --- a/x2go/backends/control/plain.py +++ b/x2go/backends/control/plain.py @@ -27,6 +27,9 @@ from builtins import str from builtins import range __NAME__ = 'x2gocontrolsession-pylib' +__package__ = 'x2go.backends.control' +__name__ = 'x2go.backends.control.plain' + # modules import os import types diff --git a/x2go/backends/info/__init__.py b/x2go/backends/info/__init__.py index c154253..6ae3c8d 100644 --- a/x2go/backends/info/__init__.py +++ b/x2go/backends/info/__init__.py @@ -16,3 +16,6 @@ # along with this program; if not, write to the # Free Software Foundation, Inc., # 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + +__package__ = 'x2go.backends.info' +__name__ = 'x2go.backends.info' diff --git a/x2go/backends/info/plain.py b/x2go/backends/info/plain.py index ab7123a..36d5576 100644 --- a/x2go/backends/info/plain.py +++ b/x2go/backends/info/plain.py @@ -25,11 +25,14 @@ This backend handles X2Go server implementations that respond with session infos via server-side PLAIN text output. """ + from __future__ import print_function from builtins import str from builtins import object __NAME__ = 'x2goserversessioninfo-pylib' +__package__ = 'x2go.backends.info' +__name__ = 'x2go.backends.info.plain' # modules import types diff --git a/x2go/backends/printing/__init__.py b/x2go/backends/printing/__init__.py index c154253..994a07f 100644 --- a/x2go/backends/printing/__init__.py +++ b/x2go/backends/printing/__init__.py @@ -16,3 +16,6 @@ # along with this program; if not, write to the # Free Software Foundation, Inc., # 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + +__package__ = 'x2go.backends.printing' +__name__ = 'x2go.backends.printing' diff --git a/x2go/backends/printing/file.py b/x2go/backends/printing/file.py index 131b9cc..2b17f64 100644 --- a/x2go/backends/printing/file.py +++ b/x2go/backends/printing/file.py @@ -28,6 +28,10 @@ configuration of your X2Go client application. from builtins import str __NAME__ = 'x2goprinting-pylib' +__package__ = 'x2go.backends.printing' +__name__ = 'x2go.backends.printing.file' + + # modules import types diff --git a/x2go/backends/printing/winreg.py b/x2go/backends/printing/winreg.py index 56d0c9b..6702e57 100644 --- a/x2go/backends/printing/winreg.py +++ b/x2go/backends/printing/winreg.py @@ -28,6 +28,9 @@ configuration of your X2Go client application. from builtins import object __NAME__ = 'x2goprint-pylib' +__package__ = 'x2go.backends.printing' +__name__ = 'x2go.backends.printing.winreg' + # modules import copy diff --git a/x2go/backends/profiles/__init__.py b/x2go/backends/profiles/__init__.py index a1b599b..6817f2d 100644 --- a/x2go/backends/profiles/__init__.py +++ b/x2go/backends/profiles/__init__.py @@ -17,3 +17,5 @@ # Free Software Foundation, Inc., # 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. +__package__ = 'x2go.backends.profiles' +__name__ = 'x2go.backends.profiles' \ No newline at end of file diff --git a/x2go/backends/profiles/base.py b/x2go/backends/profiles/base.py index aa53c69..8d90c77 100644 --- a/x2go/backends/profiles/base.py +++ b/x2go/backends/profiles/base.py @@ -28,6 +28,10 @@ from builtins import str from builtins import object __NAME__ = 'x2gosessionprofiles-pylib' +__package__ = 'x2go.backends.profiles' +__name__ = 'x2go.backends.profiles.base' + + import copy import types import re diff --git a/x2go/backends/profiles/file.py b/x2go/backends/profiles/file.py index a91a672..ffadff5 100644 --- a/x2go/backends/profiles/file.py +++ b/x2go/backends/profiles/file.py @@ -26,6 +26,9 @@ applications. """ __NAME__ = 'x2gosessionprofiles-pylib' +__package__ = 'x2go.backends.profiles' +__name__ = 'x2go.backends.profiles.file' + import random # Python X2Go modules diff --git a/x2go/backends/profiles/httpbroker.py b/x2go/backends/profiles/httpbroker.py index 4c652a2..224f427 100644 --- a/x2go/backends/profiles/httpbroker.py +++ b/x2go/backends/profiles/httpbroker.py @@ -28,6 +28,9 @@ from __future__ import print_function from builtins import str __NAME__ = 'x2gosessionprofiles-pylib' +__package__ = 'x2go.backends.profiles' +__name__ = 'x2go.backends.profiles.httpbroker' + import re import requests import urllib3.exceptions diff --git a/x2go/backends/profiles/sshbroker.py b/x2go/backends/profiles/sshbroker.py index 0f30811..d8814be 100644 --- a/x2go/backends/profiles/sshbroker.py +++ b/x2go/backends/profiles/sshbroker.py @@ -26,6 +26,9 @@ applications. """ __NAME__ = 'x2gosessionprofiles-pylib' +__package__ = 'x2go.backends.profiles' +__name__ = 'x2go.backends.profiles.sshbroker' + # modules import copy diff --git a/x2go/backends/profiles/winreg.py b/x2go/backends/profiles/winreg.py index 3d7dd3b..01ad34e 100644 --- a/x2go/backends/profiles/winreg.py +++ b/x2go/backends/profiles/winreg.py @@ -26,6 +26,9 @@ applications. """ __NAME__ = 'x2gosessionprofiles-pylib' +__package__ = 'x2go.backends.profiles' +__name__ = 'x2go.backends.profiles.winreg' + # modules import copy diff --git a/x2go/backends/proxy/__init__.py b/x2go/backends/proxy/__init__.py index c154253..6df0aa3 100644 --- a/x2go/backends/proxy/__init__.py +++ b/x2go/backends/proxy/__init__.py @@ -16,3 +16,6 @@ # along with this program; if not, write to the # Free Software Foundation, Inc., # 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + +__package__ = 'x2go.backends.proxy' +__name__ = 'x2go.backends.proxy' diff --git a/x2go/backends/proxy/base.py b/x2go/backends/proxy/base.py index 77ba67f..ca815a8 100644 --- a/x2go/backends/proxy/base.py +++ b/x2go/backends/proxy/base.py @@ -24,6 +24,9 @@ X2GoProxy class - proxying your connection through NX3 and others. from builtins import str __NAME__ = 'x2goproxy-pylib' +__package__ = 'x2go.backends.proxy' +__name__ = 'x2go.backends.proxy.base' + # modules import gevent import os diff --git a/x2go/backends/proxy/nx3.py b/x2go/backends/proxy/nx3.py index 4f9fcbb..89714ea 100644 --- a/x2go/backends/proxy/nx3.py +++ b/x2go/backends/proxy/nx3.py @@ -23,6 +23,9 @@ X2GoProxy classes - proxying your connection through NX3 and others. """ __NAME__ = 'x2goproxynx3-pylib' +__package__ = 'x2go.backends.proxy' +__name__ = 'x2go.backends.proxy.nx3' + # modules import os diff --git a/x2go/backends/settings/__init__.py b/x2go/backends/settings/__init__.py index c154253..dc23f27 100644 --- a/x2go/backends/settings/__init__.py +++ b/x2go/backends/settings/__init__.py @@ -16,3 +16,6 @@ # along with this program; if not, write to the # Free Software Foundation, Inc., # 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + +__package__ = 'x2go.backends.settings' +__name__ = 'x2go.backends.settings' diff --git a/x2go/backends/settings/file.py b/x2go/backends/settings/file.py index b31fc3a..a83018b 100644 --- a/x2go/backends/settings/file.py +++ b/x2go/backends/settings/file.py @@ -28,6 +28,9 @@ in your Python X2Go based applications to access the """ __NAME__ = 'x2gosettings-pylib' +__package__ = 'x2go.backends.settings' +__name__ = 'x2go.backends.settings.file' + # Python X2Go modules import x2go.log as log from x2go.defaults import X2GO_SETTINGS_CONFIGFILES as _X2GO_SETTINGS_CONFIGFILES diff --git a/x2go/backends/settings/winreg.py b/x2go/backends/settings/winreg.py index 109a49a..3ba4410 100644 --- a/x2go/backends/settings/winreg.py +++ b/x2go/backends/settings/winreg.py @@ -28,6 +28,9 @@ in your Python X2Go based applications to access the """ __NAME__ = 'x2gosettings-pylib' +__package__ = 'x2go.backends.settings' +__name__ = 'x2go.backends.settings.winreg' + # modules import copy diff --git a/x2go/backends/terminal/__init__.py b/x2go/backends/terminal/__init__.py index c154253..7f1504c 100644 --- a/x2go/backends/terminal/__init__.py +++ b/x2go/backends/terminal/__init__.py @@ -16,3 +16,6 @@ # along with this program; if not, write to the # Free Software Foundation, Inc., # 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. + +__package__ = 'x2go.backends.terminal' +__name__ = 'x2go.backends.terminal' diff --git a/x2go/backends/terminal/plain.py b/x2go/backends/terminal/plain.py index 82e71c4..09ea853 100644 --- a/x2go/backends/terminal/plain.py +++ b/x2go/backends/terminal/plain.py @@ -28,6 +28,9 @@ from builtins import str from builtins import object __NAME__ = 'x2goterminalsession-pylib' +__package__ = 'x2go.backends.terminal' +__name__ = 'x2go.backends.terminal.plain' + # modules import os import types diff --git a/x2go/cache.py b/x2go/cache.py index c8359c0..d66d5ea 100644 --- a/x2go/cache.py +++ b/x2go/cache.py @@ -25,6 +25,9 @@ from builtins import str from builtins import object __NAME__ = 'x2gocache-pylib' +__package__ = 'x2go' +__name__ = 'x2go.cache' + # modules import copy import gevent diff --git a/x2go/checkhosts.py b/x2go/checkhosts.py index 825996c..378da3e 100644 --- a/x2go/checkhosts.py +++ b/x2go/checkhosts.py @@ -25,6 +25,9 @@ from builtins import str from builtins import range __NAME__ = 'x2gocheckhosts-pylib' +__package__ = 'x2go' +__name__ = 'x2go.checkhosts' + # modules import paramiko import binascii diff --git a/x2go/cleanup.py b/x2go/cleanup.py index 9f52a8d..f3f222d 100644 --- a/x2go/cleanup.py +++ b/x2go/cleanup.py @@ -22,6 +22,9 @@ A recommended X2Go session clean up helper function. """ +__package__ = 'x2go' +__name__ = 'x2go.cleanup' + import gevent import paramiko import threading diff --git a/x2go/client.py b/x2go/client.py index 6cff86f..9d5ba17 100644 --- a/x2go/client.py +++ b/x2go/client.py @@ -119,6 +119,9 @@ from builtins import str from builtins import object __NAME__ = 'x2goclient-pylib' +__package__ = 'x2go' +__name__ = 'x2go.client' + #modules import copy import sys diff --git a/x2go/defaults.py b/x2go/defaults.py index 2b9ed83..1c5efd0 100644 --- a/x2go/defaults.py +++ b/x2go/defaults.py @@ -25,6 +25,9 @@ from builtins import str from builtins import range __NAME__ = 'x2godefaults-pylib' +__package__ = 'x2go' +__name__ = 'x2go.defaults' + import os import paramiko import platform diff --git a/x2go/forward.py b/x2go/forward.py index 090bfd1..4f02fba 100644 --- a/x2go/forward.py +++ b/x2go/forward.py @@ -22,6 +22,9 @@ proxying of graphical X2Go elements. """ __NAME__ = "x2gofwtunnel-pylib" +__package__ = 'x2go' +__name__ = 'x2go.forward' + # modules import copy diff --git a/x2go/gevent_subprocess.py b/x2go/gevent_subprocess.py index 24d3bde..821471a 100644 --- a/x2go/gevent_subprocess.py +++ b/x2go/gevent_subprocess.py @@ -36,6 +36,9 @@ ### for cases in that it is used in context of the X2Go project. ### +__package__ = 'x2go' +__name__ = 'x2go.gevent_subprocess' + """Implementation of the standard :mod:`subprocess` module that spawns greenlets""" from builtins import object diff --git a/x2go/guardian.py b/x2go/guardian.py index 73f3dac..e645b38 100644 --- a/x2go/guardian.py +++ b/x2go/guardian.py @@ -25,6 +25,9 @@ etc.). """ __NAME__ = 'x2goguardian-pylib' +__package__ = 'x2go' +__name__ = 'x2go.guardian' + # modules import gevent import threading diff --git a/x2go/inifiles.py b/x2go/inifiles.py index ea06f8f..81d7700 100644 --- a/x2go/inifiles.py +++ b/x2go/inifiles.py @@ -32,6 +32,9 @@ from builtins import str from builtins import object __NAME__ = 'x2goinifiles-pylib' +__package__ = 'x2go' +__name__ = 'x2go.inifiles' + # modules import os import configparser diff --git a/x2go/log.py b/x2go/log.py index 1b10c3b..6de9ded 100644 --- a/x2go/log.py +++ b/x2go/log.py @@ -24,6 +24,9 @@ X2GoLogger class - flexible handling of log and debug output. from builtins import object __NAME__ = 'x2gologger-pylib' +__package__ = 'x2go' +__name__ = 'x2go.log' + # modules import os import sys diff --git a/x2go/mimebox.py b/x2go/mimebox.py index 6705642..63b758e 100644 --- a/x2go/mimebox.py +++ b/x2go/mimebox.py @@ -28,6 +28,9 @@ of the incoming file. """ __NAME__ = 'x2gomimeboxqueue-pylib' +__package__ = 'x2go' +__name__ = 'x2go.mimebox' + # modules import os import copy diff --git a/x2go/mimeboxactions.py b/x2go/mimeboxactions.py index 37b9018..7db3bac 100644 --- a/x2go/mimeboxactions.py +++ b/x2go/mimeboxactions.py @@ -26,6 +26,9 @@ from builtins import str from builtins import object __NAME__ = 'x2gomimeboxactions-pylib' +__package__ = 'x2go' +__name__ = 'x2go.mimeboxactions' + # modules import os import copy diff --git a/x2go/printactions.py b/x2go/printactions.py index 468ec09..83099d3 100644 --- a/x2go/printactions.py +++ b/x2go/printactions.py @@ -29,6 +29,9 @@ from builtins import str from builtins import object __NAME__ = 'x2goprintactions-pylib' +__package__ = 'x2go' +__name__ = 'x2go.printactions' + # modules import os import shutil diff --git a/x2go/printqueue.py b/x2go/printqueue.py index b0c194a..d2c67d7 100644 --- a/x2go/printqueue.py +++ b/x2go/printqueue.py @@ -27,6 +27,9 @@ of the incoming print job. """ __NAME__ = 'x2goprintqueue-pylib' +__package__ = 'x2go' +__name_ = 'x2go.printqueue' + # modules import os import copy diff --git a/x2go/pulseaudio.py b/x2go/pulseaudio.py index eb56c25..9bd72e8 100644 --- a/x2go/pulseaudio.py +++ b/x2go/pulseaudio.py @@ -27,6 +27,9 @@ X2GoPulseAudio class - a Pulseaudio daemon guardian thread. __NAME__ = 'x2gopulseaudio-pylib' +__package__ = 'x2go' +__name__ = 'x2go.pulseaudio' + from .defaults import X2GOCLIENT_OS as _X2GOCLIENT_OS if _X2GOCLIENT_OS == 'Windows': import win32process diff --git a/x2go/registry.py b/x2go/registry.py index 5ad68bc..8f3b7b8 100644 --- a/x2go/registry.py +++ b/x2go/registry.py @@ -25,6 +25,9 @@ from builtins import str from builtins import object __NAME__ = 'x2gosessregistry-pylib' +__package__ = 'x2go' +__name__ = 'x2go.registry' + import os import copy import types diff --git a/x2go/rforward.py b/x2go/rforward.py index 5c84b16..b313375 100644 --- a/x2go/rforward.py +++ b/x2go/rforward.py @@ -24,6 +24,9 @@ server sessions. from builtins import str __NAME__ = 'x2gorevtunnel-pylib' +__package__ = 'x2go' +__name__ = 'x2go.rforward' + # modules import copy import threading diff --git a/x2go/session.py b/x2go/session.py index dedac10..95ee15d 100644 --- a/x2go/session.py +++ b/x2go/session.py @@ -53,6 +53,9 @@ from builtins import object __NAME__ = 'x2gosession-pylib' +__package__ = 'x2go' +__name__ = 'x2go.session' + import os import copy import types diff --git a/x2go/sftpserver.py b/x2go/sftpserver.py index cfc0aee..98784ff 100644 --- a/x2go/sftpserver.py +++ b/x2go/sftpserver.py @@ -32,6 +32,9 @@ for further information see his website: http://www.richardmurri.com from builtins import str __NAME__ = "x2gosftpserver-pylib" +__package__ = 'x2go' +__name__ = 'x2go.sftpserver' + import os import shutil import copy diff --git a/x2go/sshproxy.py b/x2go/sshproxy.py index 0b86159..e775de1 100644 --- a/x2go/sshproxy.py +++ b/x2go/sshproxy.py @@ -26,6 +26,9 @@ from builtins import str from builtins import range __NAME__ = 'x2gosshproxy-pylib' +__package__ = 'x2go' +__name__ = 'x2go.sshproxy' + # modules import gevent import os diff --git a/x2go/telekinesis.py b/x2go/telekinesis.py index 1ce9564..37d85a7 100644 --- a/x2go/telekinesis.py +++ b/x2go/telekinesis.py @@ -24,6 +24,9 @@ X2GoTelekinesisClient class - Connect to Telekinesis Server on X2Go Server. from builtins import str __NAME__ = 'x2gotelekinesisclient-pylib' +__package__ = 'x2go' +__name__ = 'x2go.telekinesis' + # modules import gevent import os diff --git a/x2go/tests/__init__.py b/x2go/tests/__init__.py index a14dc13..50fa030 100644 --- a/x2go/tests/__init__.py +++ b/x2go/tests/__init__.py @@ -17,6 +17,9 @@ # Free Software Foundation, Inc., # 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. +__package__ = 'x2go.tests' +__name__ = 'x2go.tests' + import os import sys base = os.path.join(os.path.split(os.path.split(os.getcwd())[0])[0]) diff --git a/x2go/tests/runalltests.py b/x2go/tests/runalltests.py index d495701..02edfc8 100644 --- a/x2go/tests/runalltests.py +++ b/x2go/tests/runalltests.py @@ -22,6 +22,9 @@ This file is a default test runner as found in ZOPE/Plone products. It works fine for any kind of Python unit testing---as we do here for Python X2Go. """ +__package__ = 'x2go.tests' +__name__ = 'x2go.tests.runalltests' + import os import sys diff --git a/x2go/tests/test_printing.py b/x2go/tests/test_printing.py index 6d04dfe..9b0b124 100644 --- a/x2go/tests/test_printing.py +++ b/x2go/tests/test_printing.py @@ -17,6 +17,9 @@ # Free Software Foundation, Inc., # 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. +__package__ = 'x2go.tests' +__name__ = 'x2go.tests.test_printing' + import unittest import tempfile diff --git a/x2go/utils.py b/x2go/utils.py index 1b9fca1..ef58355 100644 --- a/x2go/utils.py +++ b/x2go/utils.py @@ -26,6 +26,9 @@ from builtins import range from builtins import object __NAME__ = 'x2goutils-pylib' +__package__ = 'x2go' +__name__ = 'x2go.utils' + import sys import os import locale diff --git a/x2go/x2go_exceptions.py b/x2go/x2go_exceptions.py index ee9067c..bf7985a 100644 --- a/x2go/x2go_exceptions.py +++ b/x2go/x2go_exceptions.py @@ -23,6 +23,9 @@ Python X2Go exceptions. """ __NAME__ = 'x2goexceptions-pylib' +__package__ = 'x2go' +__name__ = 'x2go.x2go_exceptions' + # modules import paramiko diff --git a/x2go/xserver.py b/x2go/xserver.py index 9b0c761..7afcd24 100644 --- a/x2go/xserver.py +++ b/x2go/xserver.py @@ -26,6 +26,9 @@ from builtins import str __NAME__ = 'x2goxserver-pylib' +__package__ = 'x2go' +__name__ = 'x2go.xserver' + from .defaults import X2GOCLIENT_OS as _X2GOCLIENT_OS if _X2GOCLIENT_OS == 'Windows': import wmi -- Alioth's /srv/git/code.x2go.org/python-x2go.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/python-x2go.git