summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar √Čtienne Deparis 2020-01-28 13:09:38 +0100
committerGravatar √Čtienne Deparis 2020-01-28 13:09:38 +0100
commitf803bb521f51d64cd358975a252814f1e64ff95e (patch)
tree3d7c5da16d27e620cada33347c3684848cc40208
parent823a35c5e693237d7020216b39487dc039813ac8 (diff)
downloadeshelf-f803bb521f51d64cd358975a252814f1e64ff95e.tar.gz
eshelf-f803bb521f51d64cd358975a252814f1e64ff95e.tar.xz
eshelf-f803bb521f51d64cd358975a252814f1e64ff95e.zip
Remove deprecated version information
-rw-r--r--eshelf/cli.py2
-rw-r--r--eshelf/reader_orm.py6
2 files changed, 0 insertions, 8 deletions
diff --git a/eshelf/cli.py b/eshelf/cli.py
index 24f29ff..db6863f 100644
--- a/eshelf/cli.py
+++ b/eshelf/cli.py
@@ -219,8 +219,6 @@ class EShelfCli:
device_name = adobe_name
print(device_name)
- p_ver = self.reader_db.get_software_version()
- print('Internal software: {0}'.format(p_ver))
p_id = read_file(os.path.join(
self.reader_mount_point, 'system', 'product.dat'))
print('Product ID: {0}'.format(p_id))
diff --git a/eshelf/reader_orm.py b/eshelf/reader_orm.py
index 0cd462c..b9afd4f 100644
--- a/eshelf/reader_orm.py
+++ b/eshelf/reader_orm.py
@@ -28,12 +28,6 @@ class ReaderOrm:
b_uuid = dict(self.get_cursor().execute(b_uuid_req).fetchone())
return b_uuid['f_db_uuid']
- def get_software_version(self):
- b_ver_req = 'select f_desc from t_version ' \
- 'order by f_versiondate desc limit 1'
- b_ver = dict(self.get_cursor().execute(b_ver_req).fetchone())
- return b_ver['f_desc']
-
def get_shelf(self, id_or_name):
if str(id_or_name).isdecimal():
shelf_infos_req = 'select f_id_shelf, f_name ' \