1
0
mirror of https://gitlab.com/libvirt/libvirt-python.git synced 2025-08-04 12:21:57 +03:00

examples: Cleanup imports

Break import into multiple lines as recommended by PEP-8

Move imports to top

Remove unused imports

Signed-off-by: Philipp Hahn <hahn@univention.de>
This commit is contained in:
Philipp Hahn
2018-11-16 13:55:56 +01:00
committed by Philipp Hahn
parent 4e22f4de6f
commit f496dc55ee
8 changed files with 10 additions and 15 deletions

View File

@ -8,7 +8,8 @@ VOLUME into local FILE while preserving FILE/VOLUME sparseness
# Authors:
# Michal Privoznik <mprivozn@redhat.com>
import libvirt, sys, os
import libvirt
import os
from argparse import ArgumentParser
def bytesWriteHandler(stream: libvirt.virStream, buf: bytes, opaque: int) -> int: