def clear(self):
        super(GroupedRequirements, self).clear()
        self.create_default_groups()
def _pad(self, s):
        return s + (self.bs - len(s) % self.bs) * chr(self.bs - len(s) % self.bs)