diff cagou/core/cagou_main.py @ 316:86566968837a

android (p4a): updated P4A option to use Python 3: - hostpython3 is now used so we are using Python 3 - added pyasn1 and pyasn1-modules which were lacking - recent p4a now use setup.py, this is currently disabled to keep the building working
author Goffi <goffi@goffi.org>
date Wed, 16 Oct 2019 08:48:32 +0200
parents 772c170b47a9
children 4b0fa73caad4
line wrap: on
line diff
--- a/cagou/core/cagou_main.py	Sun Aug 25 12:17:56 2019 +0200
+++ b/cagou/core/cagou_main.py	Wed Oct 16 08:48:32 2019 +0200
@@ -413,10 +413,10 @@
 
         bridge_module = dynamic_import.bridge(bridge_name, 'sat_frontends.bridge')
         if bridge_module is None:
-            log.error("Can't import {} bridge".format(bridge_name))
+            log.error(f"Can't import {bridge_name} bridge")
             sys.exit(3)
         else:
-            log.debug("Loading {} bridge".format(bridge_name))
+            log.debug(f"Loading {bridge_name} bridge")
         super(Cagou, self).__init__(bridge_factory=bridge_module.Bridge,
                                     xmlui=xmlui,
                                     check_options=quick_utils.check_options,
@@ -572,7 +572,7 @@
 
         for kv_file in kv_files:
             Builder.load_file(kv_file)
-            log.debug("kv file {} loaded".format(kv_file))
+            log.debug(f"kv file {kv_file} loaded")
 
     def _import_plugins(self):
         """import all plugins"""