Hello community,

here is the log from the commit of package o2locktop for openSUSE:Factory 
checked in at 2019-07-30 12:39:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/o2locktop (Old)
 and      /work/SRC/openSUSE:Factory/.o2locktop.new.4126 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "o2locktop"

Tue Jul 30 12:39:25 2019 rev:2 rq:719770 version:1.0.10+git.1564463799.6f331ba

Changes:
--------
--- /work/SRC/openSUSE:Factory/o2locktop/o2locktop.changes      2019-07-26 
12:44:48.981825555 +0200
+++ /work/SRC/openSUSE:Factory/.o2locktop.new.4126/o2locktop.changes    
2019-07-30 12:39:27.658933023 +0200
@@ -1,0 +2,7 @@
+Tue Jul 30 05:45:33 UTC 2019 - [email protected]
+
+- Update to version 1.0.10+git.1564463799.6f331ba:
+  * Fix hostname display problem on python3 (bsc#1143155)
+  * Fix TypeError exception problem on python 2.6.9 (bsc#1143159)
+
+-------------------------------------------------------------------

Old:
----
  o2locktop-1.0.10+git.1564033453.8bdc071.tar.bz2

New:
----
  o2locktop-1.0.10+git.1564463799.6f331ba.tar.bz2

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

Other differences:
------------------
++++++ o2locktop.spec ++++++
--- /var/tmp/diff_new_pack.3ZuuzJ/_old  2019-07-30 12:39:29.158932774 +0200
+++ /var/tmp/diff_new_pack.3ZuuzJ/_new  2019-07-30 12:39:29.194932768 +0200
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -26,13 +26,13 @@
 %endif
 
 Summary: o2locktop is a top-like OCFS2 DLM lock monitor
+License:        GPL-2.0-or-later
+Group:          Development/Libraries
 Name: %{name}
-Version: 1.0.10+git.1564033453.8bdc071
+Version:        1.0.10+git.1564463799.6f331ba
 Release: 0%{release}
 Source0: %{name}-%{version}.tar.bz2
-License: GPL-2.0-or-later
-Group: Development/Libraries
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 Prefix: %{_prefix}
 BuildArch: noarch
 Url: https://github.com/ganghe/o2locktop

++++++ o2locktop-1.0.10+git.1564033453.8bdc071.tar.bz2 -> 
o2locktop-1.0.10+git.1564463799.6f331ba.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/o2locktop-1.0.10+git.1564033453.8bdc071/o2locktoplib/dlm.py 
new/o2locktop-1.0.10+git.1564463799.6f331ba/o2locktoplib/dlm.py
--- old/o2locktop-1.0.10+git.1564033453.8bdc071/o2locktoplib/dlm.py     
2019-07-25 07:44:13.000000000 +0200
+++ new/o2locktop-1.0.10+git.1564463799.6f331ba/o2locktoplib/dlm.py     
2019-07-30 07:16:39.000000000 +0200
@@ -514,9 +514,9 @@
             total_num_str = 
str(decimal.Decimal(total_num).quantize(decimal.Decimal('0.')))
             key_index_str = '--'
         else:
-            total_time_str = 
str(decimal.Decimal(total_time).quantize(decimal.Decimal('0.')))
-            total_num_str = 
str(decimal.Decimal(total_num).quantize(decimal.Decimal('0.')))
-            key_index_str = 
str(decimal.Decimal(key_index).quantize(decimal.Decimal('0.')))
+            total_time_str = 
str(decimal.Decimal(str(total_time)).quantize(decimal.Decimal('0.')))
+            total_num_str = 
str(decimal.Decimal(str(total_num)).quantize(decimal.Decimal('0.')))
+            key_index_str = 
str(decimal.Decimal(str(key_index)).quantize(decimal.Decimal('0.')))
         return total_time_str, total_num_str, key_index_str
 
     def report_once(self):
@@ -592,7 +592,7 @@
                     body = "\n".join([body, node_detail_str])
 
         tmp_index = body.rfind("├─")
-        body = body[:tmp_index] + "└─" + body[tmp_index+6:]
+        body = body[:tmp_index] + "└─" + body[tmp_index+len("└─"):]
 
         if res_ex["total_num"] != 0:
             res_ex["key_index"] = res_ex["total_time"]//res_ex["total_num"]


Reply via email to