Merge lp:~pedro.baeza/banking-addons/7.0-bank-statement-reconcile-prof_parsing into lp:banking-addons/bank-statement-reconcile-70
Status: | Superseded |
---|---|
Proposed branch: | lp:~pedro.baeza/banking-addons/7.0-bank-statement-reconcile-prof_parsing |
Merge into: | lp:banking-addons/bank-statement-reconcile-70 |
Diff against target: |
50 lines (+6/-4) 2 files modified
account_statement_base_import/parser/parser.py (+5/-3) account_statement_base_import/statement.py (+1/-1) |
To merge this branch: | bzr merge lp:~pedro.baeza/banking-addons/7.0-bank-statement-reconcile-prof_parsing |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Joël Grand-Guillaume @ camptocamp | code review, no tests | Approve | |
Yannick Vaucher @ Camptocamp | Needs Fixing | ||
Review via email: mp+214379@code.launchpad.net |
This proposal has been superseded by a proposal from 2014-05-09.
Commit message
[IMP] account_
Description of the change
Simple improvement on the account_
There is no need to do it anything more, because parse method already contains *args and **kwargs. You can access profile data with args[0] in parse method.
Unmerged revisions
- 145. By Pedro Manuel Baeza
-
Change account_
statement_ transactionid_ import and account_ statement_ ofx_import accordingly. - 144. By Pedro Manuel Baeza
-
Docstring and change in parser factory params
- 143. By Pedro Manuel Baeza
-
[IMP] account_
statement_ base_import: Profile passed and stored on parser initialisation instead of an argument for parse method - 142. By Pedro Manuel Baeza
-
[IMP] account_
statement_ base_import: Comment for prof variable. - 141. By Pedro Manuel Baeza
-
[IMP] account_
statement_ base_import: Allow to use profile data for customizing parsing
Next time someone review this module, he will wander why prof is passed to parser and why it is unused.
You should at least add a comment if you don't want it to be removed. Otherwise you should create a hook.