def get_host_uptime(self):
        return self._host.get_host_uptime()
Strip trailing component `trailing` from `content` if it exists.
dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/virt/xenapi/driver.py/XenAPIDriver.get_host_uptime--crossover with--dataset/ETHPy150Open tomchristie/django-rest-framework/rest_framework/utils/formatting.py/remove_trailing_string