[tryton-debian-vcs] tryton-modules-project-plan branch debian-jessie-2.8 updated. debian/2.8.2-1-4-g7c664fb

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


The following commit has been merged in the debian-jessie-2.8 branch:
https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi/?p=tryton/tryton-modules-project-plan.git;a=commitdiff;h=debian/2.8.2-1-4-g7c664fb

commit 7c664fb13064737f3590433f39503ff64eca78eb
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Mon May 12 15:50:15 2014 +0200

    Releasing debian version 2.8.3-1.

diff --git a/debian/changelog b/debian/changelog
index fa5dbe3..d873e99 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+tryton-modules-project-plan (2.8.3-1) unstable; urgency=medium
+
+  * Fixing the branch version in the watch file.
+  * Merging upstream version 2.8.3.
+  * Updating copyright file.
+
+ -- Mathias Behrle <mathiasb at m9s.biz>  Mon, 12 May 2014 15:50:15 +0200
+
 tryton-modules-project-plan (2.8.2-1) unstable; urgency=low
 
   * Adapting the rules file to work also with git-buildpackage.
commit 357af1a3d413fd5cf6f2e3175240a1f0172ac60f
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Mon May 12 15:50:12 2014 +0200

    Updating copyright file.

diff --git a/debian/copyright b/debian/copyright
index 8676f47..50400e9 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-2013 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 40dde4e122e79c62ef37dc46e14836d4ad1c8b2f
Author: Mathias Behrle <mathiasb at m9s.biz>
Date:   Mon May 12 15:50:12 2014 +0200

    Merging upstream version 2.8.3.

diff --git a/CHANGELOG b/CHANGELOG
index 33ef60f..90ab5da 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,6 @@
+Version 2.8.3 - 2014-05-07
+* Bug fixes (see mercurial logs for details)
+
 Version 2.8.2 - 2013-07-22
 * Bug fixes (see mercurial logs for details)
 
diff --git a/COPYRIGHT b/COPYRIGHT
index fa3aaf4..8b958cc 100644
--- a/COPYRIGHT
+++ b/COPYRIGHT
@@ -1,6 +1,6 @@
 Copyright (C) 2009-2013 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 204e836..fab768c 100644
--- a/PKG-INFO
+++ b/PKG-INFO
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: trytond_project_plan
-Version: 2.8.2
+Version: 2.8.3
 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 1eb5ca9..ce51636 100644
--- a/tryton.cfg
+++ b/tryton.cfg
@@ -1,5 +1,5 @@
 [tryton]
-version=2.8.2
+version=2.8.3
 depends:
     ir
     company
diff --git a/trytond_project_plan.egg-info/PKG-INFO b/trytond_project_plan.egg-info/PKG-INFO
index d384cc5..ee74b80 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.8.2
+Version: 2.8.3
 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 1082314..9c6b8eb 100644
--- a/work.py
+++ b/work.py
@@ -129,11 +129,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