[X2Go-Commits] [python-x2go] 02/02: No such constant loglevel_WARNING, must be logolevel_WARN.

git-admin at x2go.org git-admin at x2go.org
Thu Feb 26 10:18:07 CET 2015


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository python-x2go.

commit db715ac943ac859edff198112055f0801f57843e
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Thu Feb 26 10:17:55 2015 +0100

    No such constant loglevel_WARNING, must be logolevel_WARN.
---
 debian/changelog                |    2 +-
 x2go/backends/control/plain.py  |    4 ++--
 x2go/backends/terminal/plain.py |    4 ++--
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index f83f094..f3fbe01 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,7 +1,7 @@
 python-x2go (0.5.0.4-0x2go1) UNRELEASED; urgency=medium
 
   * New upstream version (0.5.0.4):
-    - Continue development...
+    - No such constant loglevel_WARNING, must be logolevel_WARN.
 
  -- Mike Gabriel <mike.gabriel at das-netzwerkteam.de>  Thu, 26 Feb 2015 10:16:25 +0100
 
diff --git a/x2go/backends/control/plain.py b/x2go/backends/control/plain.py
index 5df7c12..3039b97 100644
--- a/x2go/backends/control/plain.py
+++ b/x2go/backends/control/plain.py
@@ -1015,7 +1015,7 @@ class X2GoControlSession(paramiko.SSHClient):
                                                            look_for_keys=False)
                             except TypeError:
                                 if _twofactorauth and password and passphrase and password != passphrase:
-                                    self.logger('your version of Paramiko/SSH does not support authentication workflows which require SSH key decryption in combination with two-factor authentication', loglevel=log.loglevel_WARNING)
+                                    self.logger('your version of Paramiko/SSH does not support authentication workflows which require SSH key decryption in combination with two-factor authentication', loglevel=log.loglevel_WARN)
                                 paramiko.SSHClient.connect(self, _hostname, port=port, username=username, password=password, pkey=pkey,
                                                            key_filename=key_filename, timeout=timeout, allow_agent=False,
                                                            look_for_keys=False)
@@ -1027,7 +1027,7 @@ class X2GoControlSession(paramiko.SSHClient):
                                                            look_for_keys=look_for_keys)
                             except TypeError:
                                 if _twofactorauth and password and passphrase and password != passphrase:
-                                    self.logger('your version of Paramiko/SSH does not support authentication workflows which require SSH key decryption in combination with two-factor authentication', loglevel=log.loglevel_WARNING)
+                                    self.logger('your version of Paramiko/SSH does not support authentication workflows which require SSH key decryption in combination with two-factor authentication', loglevel=log.loglevel_WARN)
                                 paramiko.SSHClient.connect(self, _hostname, port=port, username=username, password=password, pkey=None,
                                                            key_filename=None, timeout=timeout, allow_agent=allow_agent,
                                                            look_for_keys=look_for_keys)
diff --git a/x2go/backends/terminal/plain.py b/x2go/backends/terminal/plain.py
index d025c99..5aa2552 100644
--- a/x2go/backends/terminal/plain.py
+++ b/x2go/backends/terminal/plain.py
@@ -568,7 +568,7 @@ class X2GoTerminalSession(object):
                 ###
                 ### ARTSD AUDIO
                 ###
-                self.logger('the ArtsD sound server (as in KDE3) is obsolete and will not be supported by Python X2Go...', loglevel=log.loglevel_WARNING)
+                self.logger('the ArtsD sound server (as in KDE3) is obsolete and will not be supported by Python X2Go...', loglevel=log.loglevel_WARN)
 
             elif self.params.snd_system == 'esd':
                 ###
@@ -939,7 +939,7 @@ class X2GoTerminalSession(object):
                 self.logger('x2gomountdirs stdout is: %s' % _stdout, log.loglevel_NOTICE)
             _stderr = stderr.read().split('\n')
             if _stderr[0]:
-                self.logger('x2gomountdirs stderr is: %s' % _stderr, log.loglevel_WARNING)
+                self.logger('x2gomountdirs stderr is: %s' % _stderr, log.loglevel_WARN)
 
         except:
             self._share_local_folder_lock.release()

--
Alioth's /srv/git/code.x2go.org/python-x2go.git//../..//_hooks_/post-receive-email on /srv/git/code.x2go.org/python-x2go.git


More information about the x2go-commits mailing list