diff options
author | Philipp Hahn <hahn@univention.de> | 2020-04-27 14:17:07 +0200 |
---|---|---|
committer | Philipp Hahn <pmhahn+github@pmhahn.de> | 2020-08-05 07:43:02 +0000 |
commit | 5434ed53ff3e4831b93ac4a51963332ec8643473 (patch) | |
tree | 7d0c5067ab6190491079efcf658799fae927cfd3 /examples | |
parent | c588ba982e3894d51fb5e8fc5ab238c9f95e6fcf (diff) | |
download | libvirt-python-5434ed53ff3e4831b93ac4a51963332ec8643473.tar.gz |
examples: Add missing return values
examples/dhcpleases.py:45: error: Missing return statement
Signed-off-by: Philipp Hahn <hahn@univention.de>
Diffstat (limited to 'examples')
-rwxr-xr-x | examples/dhcpleases.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/dhcpleases.py b/examples/dhcpleases.py index 531f880..da90a97 100755 --- a/examples/dhcpleases.py +++ b/examples/dhcpleases.py @@ -44,6 +44,7 @@ def toIPAddrType(addrType): return "ipv4" elif addrType == libvirt.VIR_IP_ADDR_TYPE_IPV6: return "ipv6" + return "Unknown" print(" {0:20} {1:18} {2:9} {3:25} {4:15} {5}".format("Expiry Time", "MAC address", |