def to_str(self):
    for (path, fp) in self.fingerprints.fingerprints.iteritems():
      if not fp or not fp.md5:
        raise AssertionError("missing Fingerprint or MD5 when serializing FingerprintList: %s: %s" % (path, fp))
    return values_to_str([("checkouts", self.checkouts.to_str()),
                          ("fingerprints", self.fingerprints.to_str())],
                          comment="Checkout state for this working directory, for all currently checked out scopes.")
dataset/ETHPy150Open bloomreach/zinc/zinc.py/CheckoutState.to_str/original