Merge lp:~fabien-morin/unifield-server/fm-us-2321 into lp:unifield-server/uf3

Proposed by jftempo
Status: Merged
Merged at revision: 4134
Proposed branch: lp:~fabien-morin/unifield-server/fm-us-2321
Merge into: lp:unifield-server/uf3
Diff against target: 14 lines (+3/-1)
1 file modified
bin/addons/account_override/finance_export.py (+3/-1)
To merge this branch: bzr merge lp:~fabien-morin/unifield-server/fm-us-2321
Reviewer Review Type Date Requested Status
UniField Dev Team Pending
Review via email: mp+315574@code.launchpad.net
To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'bin/addons/account_override/finance_export.py'
2--- bin/addons/account_override/finance_export.py 2016-12-02 12:51:55 +0000
3+++ bin/addons/account_override/finance_export.py 2017-01-25 15:09:18 +0000
4@@ -56,7 +56,9 @@
5 + Do not repeat headers if you use the same filename for more than 1 request. This avoid having multiple lines as headers.
6 """
7
8- def __init__(self, sql, process, context):
9+ def __init__(self, sql, process, context=None):
10+ if context is None:
11+ context = {}
12 self.sqlrequests = sql
13 self.processrequests = process
14 if 'background_id' in context:

Subscribers

People subscribed via source and target branches