From 61336f39fdba55fec7a17b9ebcbff31629dbc0f3 Mon Sep 17 00:00:00 2001 From: Sergio Morillo Date: Thu, 1 Jun 2017 17:47:35 +0200 Subject: [PATCH] Code styling --- __init__.py | 6 +++--- productive_process.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/__init__.py b/__init__.py index 7f29efb..584373d 100644 --- a/__init__.py +++ b/__init__.py @@ -1,11 +1,11 @@ # The COPYRIGHT file at the top level of # this repository contains the full copyright notices and license terms. from trytond.pool import Pool -from .productive_process import ProductiveProcess, WithinProductiveProcess,\ - is_in_productive_process, PYSON_NULL_PROCESS +from .productive_process import (ProductiveProcess, is_in_productive_process, + WithinProductiveProcess, PYSON_NULL_PROCESS) def register(): Pool.register( ProductiveProcess, - module='productive_process', type_='model') \ No newline at end of file + module='productive_process', type_='model') diff --git a/productive_process.py b/productive_process.py index 9640d79..1ad0324 100644 --- a/productive_process.py +++ b/productive_process.py @@ -47,4 +47,4 @@ class WithinProductiveProcess(Model): processes = Process.search([]) if len(processes) == 1: process_id = processes[0].id - return process_id \ No newline at end of file + return process_id