summaryrefslogtreecommitdiff
path: root/examples/consolecallback.py
diff options
context:
space:
mode:
authorDaniel P. Berrangé <berrange@redhat.com>2018-04-19 15:33:21 +0100
committerDaniel P. Berrangé <berrange@redhat.com>2018-04-19 16:07:19 +0100
commitc99ed22847eaa028cf09960b01213f92b8121d3d (patch)
tree602dd2d51a641add364feee75a0b467d0734d4a5 /examples/consolecallback.py
parent899dc233521e1f1bd53974bc25ca344e496c20cb (diff)
downloadlibvirt-python-c99ed22847eaa028cf09960b01213f92b8121d3d.tar.gz
Fix build with older libvirt versions
The libvirt python module is supposed to build with historical versions of the API back to 0.9.1, which means all constants / methods must be wrapped in conditionals. This was accidentally forgotten in: commit 314b2346df2d8e2d7d705b003c693b4fa0189bdf Author: Edgar Kaziakhmedov <edgar.kaziakhmedov@virtuozzo.com> Date: Wed Feb 7 17:49:30 2018 +0300 Set hints for virPyDictToTypedParams Predefine hints for all parameters possible to avoid wrong type convert. This broke the build against any libvirt < 2.0.0 Reviewed-by: Ján Tomko <jtomko@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Diffstat (limited to 'examples/consolecallback.py')
0 files changed, 0 insertions, 0 deletions