Hello community,

here is the log from the commit of package crmsh for openSUSE:Factory checked 
in at 2018-04-13 12:50:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/crmsh (Old)
 and      /work/SRC/openSUSE:Factory/.crmsh.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "crmsh"

Fri Apr 13 12:50:19 2018 rev:144 rq:595775 version:4.0.0+git.1523435067.43bb4847

Changes:
--------
--- /work/SRC/openSUSE:Factory/crmsh/crmsh.changes      2018-03-29 
11:58:06.188975738 +0200
+++ /work/SRC/openSUSE:Factory/.crmsh.new/crmsh.changes 2018-04-13 
12:50:42.097527655 +0200
@@ -1,0 +2,6 @@
+Wed Apr 11 20:10:10 UTC 2018 - [email protected]
+
+- Update to version 4.0.0+git.1523435067.43bb4847:
+  * high: hbreport: adjustment for hbreport (bsc#1088784)
+
+-------------------------------------------------------------------

Old:
----
  crmsh-4.0.0+git.1522278003.cd7ae188.tar.bz2

New:
----
  crmsh-4.0.0+git.1523435067.43bb4847.tar.bz2

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

Other differences:
------------------
++++++ crmsh.spec ++++++
--- /var/tmp/diff_new_pack.NpqvDN/_old  2018-04-13 12:50:43.273485051 +0200
+++ /var/tmp/diff_new_pack.NpqvDN/_new  2018-04-13 12:50:43.277484906 +0200
@@ -36,7 +36,7 @@
 Summary:        High Availability cluster command-line interface
 License:        GPL-2.0-or-later
 Group:          %{pkg_group}
-Version:        4.0.0+git.1522278003.cd7ae188
+Version:        4.0.0+git.1523435067.43bb4847
 Release:        0
 Url:            http://crmsh.github.io
 Source0:        %{name}-%{version}.tar.bz2

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.NpqvDN/_old  2018-04-13 12:50:43.321483312 +0200
+++ /var/tmp/diff_new_pack.NpqvDN/_new  2018-04-13 12:50:43.321483312 +0200
@@ -1,4 +1,4 @@
 <servicedata>
 <service name="tar_scm">
             <param name="url">git://github.com/ClusterLabs/crmsh.git</param>
-          <param 
name="changesrevision">7686d0078edae58e16cf29ffdf38210e9cac37f3</param></service></servicedata>
\ No newline at end of file
+          <param 
name="changesrevision">8b0eb08e2d2c6c094a69bf4428be95e0fb03b6ac</param></service></servicedata>
\ No newline at end of file

++++++ crmsh-4.0.0+git.1522278003.cd7ae188.tar.bz2 -> 
crmsh-4.0.0+git.1523435067.43bb4847.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/crmsh-4.0.0+git.1522278003.cd7ae188/crmsh/main.py 
new/crmsh-4.0.0+git.1523435067.43bb4847/crmsh/main.py
--- old/crmsh-4.0.0+git.1522278003.cd7ae188/crmsh/main.py       2018-03-29 
01:00:03.000000000 +0200
+++ new/crmsh-4.0.0+git.1523435067.43bb4847/crmsh/main.py       2018-04-11 
10:24:27.000000000 +0200
@@ -367,6 +367,7 @@
         if config.core.debug:
             import traceback
             traceback.print_exc()
+            sys.stdout.flush()
         common_err(str(e))
 
 # vim:ts=4:sw=4:et:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/crmsh-4.0.0+git.1522278003.cd7ae188/crmsh/ui_context.py 
new/crmsh-4.0.0+git.1523435067.43bb4847/crmsh/ui_context.py
--- old/crmsh-4.0.0+git.1522278003.cd7ae188/crmsh/ui_context.py 2018-03-29 
01:00:03.000000000 +0200
+++ new/crmsh-4.0.0+git.1523435067.43bb4847/crmsh/ui_context.py 2018-04-11 
10:24:27.000000000 +0200
@@ -77,12 +77,14 @@
             if config.core.debug or options.regression_tests:
                 import traceback
                 traceback.print_exc()
+                sys.stdout.flush()
             common_err("%s: %s" % (self.get_qualified_name(), msg))
             rv = False
         except IOError as msg:
             if config.core.debug or options.regression_tests:
                 import traceback
                 traceback.print_exc()
+                sys.stdout.flush()
             common_err("%s: %s" % (self.get_qualified_name(), msg))
             rv = False
         if cmd or (rv is False):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/crmsh-4.0.0+git.1522278003.cd7ae188/crmsh/ui_resource.py 
new/crmsh-4.0.0+git.1523435067.43bb4847/crmsh/ui_resource.py
--- old/crmsh-4.0.0+git.1522278003.cd7ae188/crmsh/ui_resource.py        
2018-03-29 01:00:03.000000000 +0200
+++ new/crmsh-4.0.0+git.1523435067.43bb4847/crmsh/ui_resource.py        
2018-04-11 10:24:27.000000000 +0200
@@ -207,11 +207,9 @@
         Implements the refresh and cleanup commands.
         """
         if rsc == "force":
-            rsc = None
-            force = True
+            rsc, force = None, True
         if node == "force":
-            node = None
-            force = True
+            node, force = None, True
         cmd = ["crm_resource", "--" + action]
         if rsc:
             if not utils.is_name_sane(rsc):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/crmsh-4.0.0+git.1522278003.cd7ae188/crmsh/utils.py 
new/crmsh-4.0.0+git.1523435067.43bb4847/crmsh/utils.py
--- old/crmsh-4.0.0+git.1522278003.cd7ae188/crmsh/utils.py      2018-03-29 
01:00:03.000000000 +0200
+++ new/crmsh-4.0.0+git.1523435067.43bb4847/crmsh/utils.py      2018-04-11 
10:24:27.000000000 +0200
@@ -491,7 +491,7 @@
 
 
 @contextmanager
-def open_atomic(filepath, mode="r", buffering=-1, fsync=False):
+def open_atomic(filepath, mode="r", buffering=-1, fsync=False, encoding=None):
     """ Open temporary file object that atomically moves to destination upon
     exiting.
 
@@ -510,7 +510,7 @@
     """
 
     with create_tempfile(dir=os.path.dirname(os.path.abspath(filepath))) as 
tmppath:
-        with open(tmppath, mode, buffering) as file:
+        with open(tmppath, mode, buffering, encoding=encoding) as file:
             try:
                 yield file
             finally:
@@ -525,7 +525,7 @@
     Write a string to a file.
     '''
     try:
-        with open_atomic(fname, 'w') as dst:
+        with open_atomic(fname, 'w', encoding='utf-8') as dst:
             dst.write(to_ascii(s))
     except IOError as msg:
         common_err(msg)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/crmsh-4.0.0+git.1522278003.cd7ae188/hb_report/utillib.py 
new/crmsh-4.0.0+git.1523435067.43bb4847/hb_report/utillib.py
--- old/crmsh-4.0.0+git.1522278003.cd7ae188/hb_report/utillib.py        
2018-03-29 01:00:03.000000000 +0200
+++ new/crmsh-4.0.0+git.1523435067.43bb4847/hb_report/utillib.py        
2018-04-11 10:24:27.000000000 +0200
@@ -656,7 +656,7 @@
     """
     if constants.EXTRA_LOGS:
         for l in constants.EXTRA_LOGS.split():
-            if os.path.isfile(l) and l not in constants.PCMK_LOG.split():
+            if os.path.isfile(l):
                 return l
 
         tmp_f = os.path.join(constants.WORKDIR, constants.JOURNAL_F)


Reply via email to