def DumpZipFile(self, zf):
    """Print the contents of something zipfile can open, such as a StringIO."""
    # Handy for debugging
    z = zipfile.ZipFile(zf)
    for n in z.namelist():
      print "--\n%s\n%s" % (n, z.read(n))
dataset/ETHPy150Open google/transitfeed/tests/util.py/MemoryZipTestCase.DumpZipFile/original