Beispiel #1
0
    def _fixxpath(self, xpath):
        # old (pre 2.7) Nimbus return types don't include namespace declaration in every
        # tag, unlike EC2. So we override this method to make xpath queries
        # just pass through instead of being ns-prefixed.

        if self.fix_xpath:
            return EC2NodeDriver._fixxpath(self, xpath)
        else:
            return xpath