Fix flake8

This commit is contained in:
Cédric Krier
2013-10-05 12:17:15 +02:00
parent 19014b216d
commit 759d10eb37
2 changed files with 2 additions and 4 deletions
+2
View File
@@ -2,3 +2,5 @@
#this repository contains the full copyright notices and license terms.
from .test_project_plan import suite
__all__ = ['suite']
-4
View File
@@ -94,8 +94,6 @@ class Work:
'''
Function to compute function fields
'''
cursor = Transaction().cursor
res = {}
ids = [w.id for w in works]
@@ -159,8 +157,6 @@ class Work:
@classmethod
def set_function_fields(cls, works, name, value):
pool = Pool()
fun_fields = ('actual_start_date', 'actual_finish_date',
'constraint_start_date', 'constraint_finish_date')
db_fields = ('actual_start_time', 'actual_finish_time',