def ignore_mozilla(self, unit): locations = unit.getlocations() if len(locations) == 1 and locations[0].lower().endswith(".accesskey"): return True for location in locations: if dtd2po.is_css_entity(location): return True if location in ["brandShortName", "brandFullName", "vendorShortName"]: return True if location.lower().endswith(".commandkey") or location.endswith(".key"): return True return False
def ignore_mozilla(self, unit): locations = unit.getlocations() if len(locations) == 1 and locations[0].lower().endswith(".accesskey"): return True for location in locations: if dtd2po.is_css_entity(location): return True if location in ["brandShortName", "brandFullName", "vendorShortName"]: return True if location.lower().endswith(".commandkey") or location.endswith(".key"): return True return False