-#!/usr/bin/env python
+#!/usr/bin/env python3
# vim: expandtab
#
# Copyright (C) Matthieu Patou <mat@matws.net> 2009 - 2010
scope=ldb.SCOPE_BASE,
attrs=["backendStore"])
if "backendStore" in res[0]:
- backend_store = res[0]["backendStore"][0]
+ backend_store = str(res[0]["backendStore"][0])
if paths.sysvol and not only_db: