[X2Go-Commits] [python-x2go] 02/02: Fix setting default values in X2GoClientXConfig class.
git-admin at x2go.org
git-admin at x2go.org
Wed Feb 5 22:37:26 CET 2014
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch brokerclient
in repository python-x2go.
commit a423bfe0ca5d4e440aedd36c473aba6f8caf1153
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date: Wed Feb 5 22:32:41 2014 +0100
Fix setting default values in X2GoClientXConfig class.
---
debian/changelog | 1 +
x2go/xserver.py | 3 +--
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index bdfd23c..99929ee 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,7 @@ python-x2go (0.5.0.0-0x2go1) UNRELEASED; urgency=low
- Fully rework backend concept in Python X2Go. Breaks compatibility
with earlier versions of Python X2Go concerning backends (probably
not really used by third-party products, if at all).
+ - Fix setting default values in X2GoClientXConfig class.
-- Mike Gabriel <mike.gabriel at das-netzwerkteam.de> Sun, 05 Jan 2014 16:35:57 +0100
diff --git a/x2go/xserver.py b/x2go/xserver.py
index 8ee3993..5cf05f8 100644
--- a/x2go/xserver.py
+++ b/x2go/xserver.py
@@ -50,9 +50,8 @@ class X2GoClientXConfig(inifiles.X2GoIniFile):
This class is needed for Windows systems and (maybe soon) for Unix desktops using Wayland.
"""
- defaultValues = _X2GO_CLIENTXCONFIG_DEFAULTS
- def __init__(self, config_files=_X2GO_XCONFIG_CONFIGFILES, defaults=None, logger=None, loglevel=log.loglevel_DEFAULT):
+ def __init__(self, config_files=_X2GO_XCONFIG_CONFIGFILES, defaults=_X2GO_CLIENTXCONFIG_DEFAULTS, logger=None, loglevel=log.loglevel_DEFAULT):
"""\
Constructs an L{X2GoClientXConfig} instance. This is normally done by an L{X2GoClient} instance.
You can retrieve this L{X2GoClientXConfig} instance with the C{X2GoClient.get_client_xconfig()}
--
Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/python-x2go.git
More information about the x2go-commits
mailing list