Commit Graph

17 Commits

Author SHA1 Message Date
d00319fcda Add GPLv3+ License-Identifier to remaining files 2021-03-20 16:13:08 +02:00
4b2042501d Add SPDX-FileCopyrightText for sole author files 2021-03-20 15:26:40 +02:00
68e00a30ce Add PRIMARY KEY information 2020-10-17 18:34:06 +03:00
a1a056d304 Add two new tables that are in 5.26 but not 5.23
Can_BMS_Info_Table and Can_BMS_Data_Table
2020-10-17 18:10:58 +03:00
c90d604096 Use version number to build a list of tables to convert 2020-10-17 17:57:06 +03:00
c25e755296 Reformat lists of table names 2020-10-17 17:48:03 +03:00
60639299b8 Parse out version number from Version_Table
Previously the version was compared for strict equality so a
higher version did not match.
2020-10-11 20:40:23 +03:00
a0700b0276 Add extra columns to Global and Battery Data tables for v5.26
Arbin software v5.26 adds additional columns to these existing
tables; these need to be added to the output database so that
the conversion does not fail.
2020-10-11 16:33:25 +03:00
b2fb092ea3 Remove compability code for Python 2 subprocess module 2020-02-16 14:28:57 +02:00
0ea049e279 Merge branch 'master' into test-and-fix-Arbin 2019-05-16 17:29:38 +02:00
aab135391a Change max-line-length to 100 and refactor all longer lines 2019-05-15 07:09:11 +02:00
8abab57c06 Fixed some more flake8 warnings 2019-05-12 09:20:33 +02:00
ed43de1326 Fix flake8 warnings on comments style 2019-05-12 09:13:01 +02:00
2a36713b06 Fixed some flake8 warnings in res2sqlite.py 2019-05-03 20:37:27 +02:00
846a5b3149 Catch FileNotFoundError from Popen and re-raise a more helpful message 2019-04-03 08:14:05 +02:00
557e755f03 Move Popen call outside the try/finally block
Ensure that all variables used in the except and finally blocks
are always defined - fixes #23

In Python 3, Popen objects can be used as contextmanagers, but not
in Python 2.7
2019-04-02 23:09:53 +02:00
e5e75ff2f0 Make res2sqlite.py an entry_point rather than a script 2019-03-10 09:28:09 +01:00