[tryton-debian-vcs] tryton-modules-project-plan branch debian-wheezy-2.6 updated. debian/2.6.3-1-3-g9a284d6

Mathias Behrle tryton-debian-vcs at alioth.debian.org
Mon May 12 16:09:31 UTC 2014


The following commit has been merged in the debian-wheezy-2.6 branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-modules-project-plan.git;a=commitdiff;h=debian/2.6.3-1-3-g9a284d6

commit 9a284d665240c35be0ef2838a5d17688b1339677
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Mon May 12 15:47:42 2014 +0200

    Releasing debian version 2.6.4-1.

diff --git a/debian/changelog b/debian/changelog
index 5206fd9..1a644e7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+tryton-modules-project-plan (2.6.4-1) unstable; urgency=medium
+
+  * Merging upstream version 2.6.4.
+  * Updating copyright file.
+
+ -- Mathias Behrle <mathiasb at m9s.biz>  Mon, 12 May 2014 15:47:42 +0200
+
 tryton-modules-project-plan (2.6.3-1) unstable; urgency=low
 
   * Merging upstream version 2.6.3.
commit 639d15d3a614adbf057e978361c0f804b7cd3240
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Mon May 12 15:47:40 2014 +0200

    Updating copyright file.

diff --git a/debian/copyright b/debian/copyright
index edd2549..5b48ab3 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -2,8 +2,8 @@ Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
 
 Files: *
 Copyright: 2009-2012 Bertrand Chenal
-           2009-2013 Cédric Krier
-           2009-2013 B2CK SPRL
+           2009-2014 Cédric Krier
+           2009-2014 B2CK SPRL
 License: GPL-3+
 
 Files: debian/*
commit a1dfb9421dc6475c363b83fecb965f2b479df76d
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Mon May 12 15:47:39 2014 +0200

    Merging upstream version 2.6.4.

diff --git a/CHANGELOG b/CHANGELOG
index 650678d..3ec893e 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 2.6.4 - 2014-05-07
+* Bug fixes (see mercurial logs for details)
+
 Version 2.6.3 - 2013-07-22
 * Bug fixes (see mercurial logs for details)
 
diff --git a/COPYRIGHT b/COPYRIGHT
index ff31dda..f809fc6 100644
--- a/COPYRIGHT
+++ b/COPYRIGHT
@@ -1,6 +1,6 @@
 Copyright (C) 2009-2012 Bertrand Chenal.
-Copyright (C) 2009-2013 Cédric Krier.
-Copyright (C) 2009-2013 B2CK SPRL.
+Copyright (C) 2009-2014 Cédric Krier.
+Copyright (C) 2009-2014 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 e606a68..3125fa4 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond_project_plan
-Version: 2.6.3
+Version: 2.6.4
 Summary: Tryton module to add planning capabilities on projects
 Home-page: http://www.tryton.org/
 Author: Tryton
diff --git a/tryton.cfg b/tryton.cfg
index 06847d9..90c0317 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
 [tryton]
-version=2.6.3
+version=2.6.4
 depends:
     ir
     company
diff --git a/trytond_project_plan.egg-info/PKG-INFO b/trytond_project_plan.egg-info/PKG-INFO
index 5512798..5c54178 100644
--- a/trytond_project_plan.egg-info/PKG-INFO
+++ b/trytond_project_plan.egg-info/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond-project-plan
-Version: 2.6.3
+Version: 2.6.4
 Summary: Tryton module to add planning capabilities on projects
 Home-page: http://www.tryton.org/
 Author: Tryton
diff --git a/work.py b/work.py
index cd39fc2..e31dfc4 100644
--- a/work.py
+++ b/work.py
@@ -131,11 +131,12 @@ class Work:
 
                 total_allocation = 0
                 if not work.allocations:
-                    durations[work.id] = work.effort
+                    durations[work.id] = (work.effort or 0)
                     continue
                 for allocation in work.allocations:
                     total_allocation += allocation.percentage
-                durations[work.id] = work.effort / (total_allocation / 100.0)
+                durations[work.id] = ((work.effort or 0)
+                    / (total_allocation / 100.0))
 
             while leafs:
                 for work_id in leafs:
-- 
tryton-modules-project-plan



More information about the tryton-debian-vcs mailing list