From 23fa2a9c90561364f9a476ac738dcee48fb297bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20Trevisan=20=28Trevi=C3=B1o=29?= Date: Tue, 9 Jun 2020 20:01:56 +0200 Subject: [PATCH] Rename package from proto97 to proto9x --- dbus-service.py | 4 ++-- factory-reset.py | 4 ++-- pair.py | 14 +++++++------- {proto97 => proto9x}/blobs.py | 0 {proto97 => proto9x}/blobs_90.py | 0 {proto97 => proto9x}/blobs_97.py | 0 {proto97 => proto9x}/calibrate.py | 0 {proto97 => proto9x}/db.py | 0 {proto97 => proto9x}/flash.py | 0 {proto97 => proto9x}/hw_tables.py | 0 {proto97 => proto9x}/init_db.py | 0 {proto97 => proto9x}/init_flash.py | 0 {proto97 => proto9x}/sensor.py | 0 {proto97 => proto9x}/sid.py | 0 {proto97 => proto9x}/tls.py | 0 {proto97 => proto9x}/upload_fwext.py | 0 {proto97 => proto9x}/usb.py | 0 {proto97 => proto9x}/util.py | 0 prototype.py | 12 ++++++------ 19 files changed, 17 insertions(+), 17 deletions(-) rename {proto97 => proto9x}/blobs.py (100%) rename {proto97 => proto9x}/blobs_90.py (100%) rename {proto97 => proto9x}/blobs_97.py (100%) rename {proto97 => proto9x}/calibrate.py (100%) rename {proto97 => proto9x}/db.py (100%) rename {proto97 => proto9x}/flash.py (100%) rename {proto97 => proto9x}/hw_tables.py (100%) rename {proto97 => proto9x}/init_db.py (100%) rename {proto97 => proto9x}/init_flash.py (100%) rename {proto97 => proto9x}/sensor.py (100%) rename {proto97 => proto9x}/sid.py (100%) rename {proto97 => proto9x}/tls.py (100%) rename {proto97 => proto9x}/upload_fwext.py (100%) rename {proto97 => proto9x}/usb.py (100%) rename {proto97 => proto9x}/util.py (100%) diff --git a/dbus-service.py b/dbus-service.py index a86fdce..054bd3c 100644 --- a/dbus-service.py +++ b/dbus-service.py @@ -6,8 +6,8 @@ from pydbus.generic import signal import pkg_resources from time import sleep from prototype import * -from proto97.db import subtype_to_string -from proto97.sensor import cancel_capture +from proto9x.db import subtype_to_string +from proto9x.sensor import cancel_capture import pwd print("Starting up") diff --git a/factory-reset.py b/factory-reset.py index b3e5c2d..9ff94c9 100644 --- a/factory-reset.py +++ b/factory-reset.py @@ -1,6 +1,6 @@ -from proto97.usb import usb -from proto97.sensor import factory_reset +from proto9x.usb import usb +from proto9x.sensor import factory_reset usb.open() factory_reset() diff --git a/pair.py b/pair.py index b0749a4..22b2735 100644 --- a/pair.py +++ b/pair.py @@ -1,13 +1,13 @@ from time import sleep -from proto97.usb import usb -from proto97.tls import tls -from proto97.flash import read_flash -from proto97.init_flash import init_flash -from proto97.upload_fwext import upload_fwext -from proto97.calibrate import calibrate -from proto97.init_db import init_db +from proto9x.usb import usb +from proto9x.tls import tls +from proto9x.flash import read_flash +from proto9x.init_flash import init_flash +from proto9x.upload_fwext import upload_fwext +from proto9x.calibrate import calibrate +from proto9x.init_db import init_db #usb.trace_enabled=True #tls.trace_enabled=True diff --git a/proto97/blobs.py b/proto9x/blobs.py similarity index 100% rename from proto97/blobs.py rename to proto9x/blobs.py diff --git a/proto97/blobs_90.py b/proto9x/blobs_90.py similarity index 100% rename from proto97/blobs_90.py rename to proto9x/blobs_90.py diff --git a/proto97/blobs_97.py b/proto9x/blobs_97.py similarity index 100% rename from proto97/blobs_97.py rename to proto9x/blobs_97.py diff --git a/proto97/calibrate.py b/proto9x/calibrate.py similarity index 100% rename from proto97/calibrate.py rename to proto9x/calibrate.py diff --git a/proto97/db.py b/proto9x/db.py similarity index 100% rename from proto97/db.py rename to proto9x/db.py diff --git a/proto97/flash.py b/proto9x/flash.py similarity index 100% rename from proto97/flash.py rename to proto9x/flash.py diff --git a/proto97/hw_tables.py b/proto9x/hw_tables.py similarity index 100% rename from proto97/hw_tables.py rename to proto9x/hw_tables.py diff --git a/proto97/init_db.py b/proto9x/init_db.py similarity index 100% rename from proto97/init_db.py rename to proto9x/init_db.py diff --git a/proto97/init_flash.py b/proto9x/init_flash.py similarity index 100% rename from proto97/init_flash.py rename to proto9x/init_flash.py diff --git a/proto97/sensor.py b/proto9x/sensor.py similarity index 100% rename from proto97/sensor.py rename to proto9x/sensor.py diff --git a/proto97/sid.py b/proto9x/sid.py similarity index 100% rename from proto97/sid.py rename to proto9x/sid.py diff --git a/proto97/tls.py b/proto9x/tls.py similarity index 100% rename from proto97/tls.py rename to proto9x/tls.py diff --git a/proto97/upload_fwext.py b/proto9x/upload_fwext.py similarity index 100% rename from proto97/upload_fwext.py rename to proto9x/upload_fwext.py diff --git a/proto97/usb.py b/proto9x/usb.py similarity index 100% rename from proto97/usb.py rename to proto9x/usb.py diff --git a/proto97/util.py b/proto9x/util.py similarity index 100% rename from proto97/util.py rename to proto9x/util.py diff --git a/prototype.py b/prototype.py index 53ab967..b62787b 100644 --- a/prototype.py +++ b/prototype.py @@ -1,10 +1,10 @@ -from proto97.tls import tls -from proto97.usb import usb -from proto97.db import db -from proto97.flash import read_flash -from proto97.sensor import * -from proto97.sid import * +from proto9x.tls import tls +from proto9x.usb import usb +from proto9x.db import db +from proto9x.flash import read_flash +from proto9x.sensor import * +from proto9x.sid import * def open97(): usb.open()