[tryton-debian-vcs] tryton-modules-webdav branch upstream-4.0 updated. upstream/4.0.2-1-g159e180

Mathias Behrle tryton-debian-vcs at alioth.debian.org
Tue Feb 14 10:40:35 UTC 2017


The following commit has been merged in the upstream-4.0 branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-modules-webdav.git;a=commitdiff;h=upstream/4.0.2-1-g159e180

commit 159e180a4464b6857fcb56ebac5ca195faba54d0
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Wed Feb 8 10:57:47 2017 +0100

    Adding upstream version 4.0.3.
    
    Signed-off-by: Mathias Behrle <mathiasb at m9s.biz>

diff --git a/CHANGELOG b/CHANGELOG
index c5e7798..08a7e65 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 4.0.3 - 2017-02-06
+* Bug fixes (see mercurial logs for details)
+
 Version 4.0.2 - 2016-07-04
 * Bug fixes (see mercurial logs for details)
 
diff --git a/COPYRIGHT b/COPYRIGHT
index 442fb2d..5d0de2b 100644
--- a/COPYRIGHT
+++ b/COPYRIGHT
@@ -1,5 +1,5 @@
-Copyright (C) 2012-2016 Cédric Krier.
-Copyright (C) 2012-2016 B2CK SPRL.
+Copyright (C) 2012-2017 Cédric Krier.
+Copyright (C) 2012-2017 B2CK SPRL.
 
 This program is free software: you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
diff --git a/PKG-INFO b/PKG-INFO
index fa39eba..debb083 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond_webdav
-Version: 4.0.2
+Version: 4.0.3
 Summary: Tryton module for webdav
 Home-page: http://www.tryton.org/
 Author: Tryton
diff --git a/protocol.py b/protocol.py
index 3ddad3d..7430389 100644
--- a/protocol.py
+++ b/protocol.py
@@ -566,9 +566,10 @@ class WebDAVAuthRequestHandler(WebDAVServer.DAVRequestHandler):
         if not dbname or dbname not in databases:
             return True
         if user:
-            user = int(login(dbname, user, password, cache=False))
+            user = login(dbname, user, password, cache=False)
             if not user:
                 return None
+            user = int(user)
         else:
             url = urlparse.urlparse(self.path)
             query = urlparse.parse_qs(url.query)
diff --git a/tryton.cfg b/tryton.cfg
index d89283b..4300725 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
 [tryton]
-version=4.0.2
+version=4.0.3
 depends:
     ir
     res
diff --git a/trytond_webdav.egg-info/PKG-INFO b/trytond_webdav.egg-info/PKG-INFO
index a3e49ec..3f6750e 100644
--- a/trytond_webdav.egg-info/PKG-INFO
+++ b/trytond_webdav.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond-webdav
-Version: 4.0.2
+Version: 4.0.3
 Summary: Tryton module for webdav
 Home-page: http://www.tryton.org/
 Author: Tryton
-- 
tryton-modules-webdav



More information about the tryton-debian-vcs mailing list