Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package safeeyes for openSUSE:Factory 
checked in at 2024-10-20 10:05:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/safeeyes (Old)
 and      /work/SRC/openSUSE:Factory/.safeeyes.new.26871 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "safeeyes"

Sun Oct 20 10:05:07 2024 rev:12 rq:1208976 version:2.2.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/safeeyes/safeeyes.changes        2024-10-13 
17:34:21.347929047 +0200
+++ /work/SRC/openSUSE:Factory/.safeeyes.new.26871/safeeyes.changes     
2024-10-20 10:05:18.302040591 +0200
@@ -1,0 +2,6 @@
+Sat Oct 19 10:18:41 UTC 2024 - <opensuse.lietuviu.ka...@gmail.com>
+
+- Update SafeEyes-Python3.6-compatibility.patch according PEP 584 
+  recommendations.
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ SafeEyes-Python3.6-compatibility.patch ++++++
--- /var/tmp/diff_new_pack.AMu0fu/_old  2024-10-20 10:05:18.806059625 +0200
+++ /var/tmp/diff_new_pack.AMu0fu/_new  2024-10-20 10:05:18.814059926 +0200
@@ -1,20 +1,20 @@
-Date: Sun, 13 Oct 2024 09:36:34 +0300
-Subject: [PATCH 1/2] Replace "|" into "or" for Python 3.6 compatibility
+Date: Sat, 19 Oct 2024 09:36:34 +0300
+Subject: [PATCH 1/2] Replace "|" for Python 3.6 compatibility according PEP 
584 recommendations
 
 ---
- safeeyes/plugins/healthstats/plugin.py | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
+ safeeyes/plugins/healthstats/plugin.py | 2 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
 
 diff --git a/safeeyes/plugins/healthstats/plugin.py 
b/safeeyes/plugins/healthstats/plugin.py
-index 126c1c86..d4def482 100644
 --- a/safeeyes/plugins/healthstats/plugin.py
 +++ b/safeeyes/plugins/healthstats/plugin.py
-@@ -55,7 +55,7 @@ def init(ctx, safeeyes_config, plugin_config):
+@@ -55,7 +55,8 @@ def init(ctx, safeeyes_config, plugin_config):
              'total_resets': 0,
          }
  
 -        session = context['session']['plugin'].get('healthstats', {}) | 
defaults
-+        session = context['session']['plugin'].get('healthstats', {}) or 
defaults
++        session = context['session']['plugin'].get('healthstats', {}).copy()
++        session.update(defaults)
          if 'no_of_breaks' in session:
              # Ignore old format session.
              session = defaults
@@ -28,7 +28,6 @@
  1 file changed, 3 insertions(+), 2 deletions(-)
 
 diff --git a/safeeyes/model.py b/safeeyes/model.py
-index 2f8f9b88..888a6bc1 100644
 --- a/safeeyes/model.py
 +++ b/safeeyes/model.py
 @@ -24,6 +24,7 @@

Reply via email to