[libvirt] [PATCH python] Fix handling of optional params in blockCopy()

2019-03-11 Thread Nir Soffer
Commit 2b4bd07e0a22 (Add check for params, nparams being a dictionary) changed the way the optional params argument is treated. If libvirt.virDomain.blockCopy() is called without specifying params, params is None, and the call will fail with: TypeError: block params must be a dictionary This

Re: [libvirt] [PATCH python] Fix handling of optional params in blockCopy()

2019-03-11 Thread Nir Soffer
On Mon, Mar 11, 2019 at 12:00 PM Daniel P. Berrangé wrote: > On Sun, Mar 10, 2019 at 03:03:25AM +0200, Nir Soffer wrote: > > Commit 2b4bd07e0a22 (Add check for params, nparams being a dictionary) > > changed the way the optional params argument is treated. If > > libvirt.virDomain.blockCopy() is

Re: [libvirt] [PATCH python] Fix handling of optional params in blockCopy()

2019-03-11 Thread Daniel P . Berrangé
On Sun, Mar 10, 2019 at 03:03:25AM +0200, Nir Soffer wrote: > Commit 2b4bd07e0a22 (Add check for params, nparams being a dictionary) > changed the way the optional params argument is treated. If > libvirt.virDomain.blockCopy() is called without specifying params, > params is None, and the call will