def get_db_backend()

in dcrpm/rpmutil.py [0:0]


    def get_db_backend(self):
        # type: () -> str
        macros = self._get_macros()
        if "_db_backend" in macros:
            return macros["_db_backend"]
        else:
            self.logger.warning("No db_backend found in macros, assuming bdb")
            return "bdb"