Hello community,

here is the log from the commit of package python-parallax for openSUSE:Factory 
checked in at 2015-06-15 17:49:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-parallax (Old)
 and      /work/SRC/openSUSE:Factory/.python-parallax.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-parallax"

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-parallax/python-parallax.changes  
2015-02-18 12:08:52.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.python-parallax.new/python-parallax.changes     
2015-06-15 17:49:42.000000000 +0200
@@ -1,0 +2,8 @@
+Fri Jun 12 15:26:42 UTC 2015 - [email protected]
+
+- Release 1.0.1
+  + The host list expander function was not unicode-safe (bsc#934594)
+  + Clean up and update documentation for Options.inline (#1)
+  + Fix python3 error using askpass option (krig/parallel-ssh#1)
+
+-------------------------------------------------------------------

Old:
----
  parallax-1.0.0a3.tar.gz

New:
----
  parallax-1.0.1.tar.gz

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

Other differences:
------------------
++++++ python-parallax.spec ++++++
--- /var/tmp/diff_new_pack.ElIufF/_old  2015-06-15 17:49:43.000000000 +0200
+++ /var/tmp/diff_new_pack.ElIufF/_new  2015-06-15 17:49:43.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           python-parallax
-Version:        1.0.0a3
+Version:        1.0.1
 Release:        0
 Summary:        Execute commands and copy files over SSH to multiple machines 
at once
 License:        BSD-3-Clause

++++++ parallax-1.0.0a3.tar.gz -> parallax-1.0.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/parallax-1.0.0a3/PKG-INFO new/parallax-1.0.1/PKG-INFO
--- old/parallax-1.0.0a3/PKG-INFO       2015-02-12 17:45:29.000000000 +0100
+++ new/parallax-1.0.1/PKG-INFO 2015-06-12 17:24:21.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: parallax
-Version: 1.0.0a3
+Version: 1.0.1
 Summary: Execute commands and copy files over SSH to multiple machines at once
 Home-page: https://github.com/krig/parallax/
 Author: Kristoffer Gronlund
@@ -21,6 +21,8 @@
 Classifier: Programming Language :: Python :: 3
 Classifier: Programming Language :: Python :: 3.1
 Classifier: Programming Language :: Python :: 3.2
+Classifier: Programming Language :: Python :: 3.3
+Classifier: Programming Language :: Python :: 3.4
 Classifier: Topic :: Software Development :: Libraries :: Python Modules
 Classifier: Topic :: System :: Clustering
 Classifier: Topic :: System :: Networking
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/parallax-1.0.0a3/parallax/__init__.py 
new/parallax-1.0.1/parallax/__init__.py
--- old/parallax-1.0.0a3/parallax/__init__.py   2014-10-15 16:08:15.000000000 
+0200
+++ new/parallax-1.0.1/parallax/__init__.py     2015-06-12 17:05:57.000000000 
+0200
@@ -35,6 +35,12 @@
 from parallax.task import Task
 
 
+try:
+    basestring
+except NameError:
+    basestring = str
+
+
 class Error(BaseException):
     """
     Returned instead of a result for a host
@@ -55,6 +61,12 @@
 class Options(object):
     """
     Common options for call, copy and slurp.
+
+    Note:
+    Setting the inline or inline_stdout options prints the
+    output to stdout unless an alternative manager callback
+    has been set. inline is True by default. This is a change
+    from pssh to parallax.
     """
     limit = DEFAULT_PARALLELISM  # Max number of parallel threads
     timeout = DEFAULT_TIMEOUT    # Timeout in seconds
@@ -80,7 +92,7 @@
     Output: list of (host, port, user)-tuples.
     """
     def expand(v):
-        if isinstance(v, str):
+        if isinstance(v, basestring):
             return (v, None, None)
         elif len(v) == 1:
             return (v[0], None, None)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/parallax-1.0.0a3/parallax/askpass_server.py 
new/parallax-1.0.1/parallax/askpass_server.py
--- old/parallax-1.0.0a3/parallax/askpass_server.py     2014-10-15 
16:09:10.000000000 +0200
+++ new/parallax-1.0.1/parallax/askpass_server.py       2015-02-20 
17:02:50.000000000 +0100
@@ -62,7 +62,7 @@
         fd = conn.fileno()
         iomap.register_write(fd, self.handle_write)
         self.socketmap[fd] = conn
-        self.buffermap[fd] = self.password
+        self.buffermap[fd] = self.password.encode()
 
     def handle_write(self, fd, iomap):
         buffer = self.buffermap[fd]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/parallax-1.0.0a3/parallax/callbacks.py 
new/parallax-1.0.1/parallax/callbacks.py
--- old/parallax-1.0.0a3/parallax/callbacks.py  2014-12-24 17:04:19.000000000 
+0100
+++ new/parallax-1.0.1/parallax/callbacks.py    2015-06-12 17:05:57.000000000 
+0200
@@ -37,14 +37,14 @@
                 print(' '.join((progress, tstamp, success, host)))
         # NOTE: The extra flushes are to ensure that the data is output in
         # the correct order with the C implementation of io.
-        if task.outputbuffer:
+        if task.inline_stdout and task.outputbuffer:
             sys.stdout.flush()
             try:
                 sys.stdout.buffer.write(task.outputbuffer)
                 sys.stdout.flush()
             except AttributeError:
                 sys.stdout.write(task.outputbuffer)
-        if task.errorbuffer:
+        if task.inline and task.errorbuffer:
             sys.stdout.write(stderr)
             # Flush the TextIOWrapper before writing to the binary buffer.
             sys.stdout.flush()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/parallax-1.0.0a3/parallax/task.py 
new/parallax-1.0.1/parallax/task.py
--- old/parallax-1.0.0a3/parallax/task.py       2014-12-21 08:33:35.000000000 
+0100
+++ new/parallax-1.0.1/parallax/task.py 2015-06-12 17:05:57.000000000 +0200
@@ -90,7 +90,7 @@
         self.quiet = quiet
         self.print_out = print_out
         self.inline = inline
-        self.inline_stdout = inline_stdout
+        self.inline_stdout = inline or inline_stdout
 
     def start(self, nodenum, iomap, writer, askpass_socket=None):
         """Starts the process and registers files with the IOMap."""
@@ -210,7 +210,7 @@
         try:
             buf = os.read(fd, BUFFER_SIZE)
             if buf:
-                if self.inline or self.inline_stdout:
+                if self.inline_stdout:
                     if self.quiet:
                         self.outputbuffer += "%s: %s" % (self.host, buf)
                     else:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/parallax-1.0.0a3/parallax/version.py 
new/parallax-1.0.1/parallax/version.py
--- old/parallax-1.0.0a3/parallax/version.py    2015-02-12 17:42:57.000000000 
+0100
+++ new/parallax-1.0.1/parallax/version.py      2015-06-12 17:19:57.000000000 
+0200
@@ -1 +1 @@
-VERSION = '1.0.0a3'
+VERSION = '1.0.1'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/parallax-1.0.0a3/setup.py new/parallax-1.0.1/setup.py
--- old/parallax-1.0.0a3/setup.py       2014-10-15 15:44:50.000000000 +0200
+++ new/parallax-1.0.1/setup.py 2015-06-12 17:19:26.000000000 +0200
@@ -26,6 +26,8 @@
           "Programming Language :: Python :: 3",
           "Programming Language :: Python :: 3.1",
           "Programming Language :: Python :: 3.2",
+          "Programming Language :: Python :: 3.3",
+          "Programming Language :: Python :: 3.4",
           "Topic :: Software Development :: Libraries :: Python Modules",
           "Topic :: System :: Clustering",
           "Topic :: System :: Networking",


Reply via email to