Page MenuHomeSoftware Heritage
Paste P1013

(An Untitled Masterwork)
ActivePublic

Authored by douardda on Apr 22 2021, 5:33 PM.
(Pdb) p self
Revision(message=b'hello', author=Person(fullname=b'Nicolas Dandrimont <nicolas@example.com> ', name=b'Nicolas Dandrimont', email=b'nicolas@example.com'), committer=Person(fullname=b'St\xc3fano Zacchiroli <stefano@example.com>', name=b'St\xc3fano Zacchiroli', email=b'stefano@example.com'), date=TimestampWithTimezone(timestamp=Timestamp(seconds=1234567890, microseconds=0), offset=120, negative_utc=False), committer_date=TimestampWithTimezone(timestamp=Timestamp(seconds=1123456789, microseconds=0), offset=120, negative_utc=False), type=<RevisionType.GIT: 'git'>, directory=b'RV\xe8V\xa0\xa0\x89\x89f\xd6\xba\x14\xfe\xb48\x8b\x8b\x82\xd3\x02', synthetic=True, metadata=ImmutableDict({'checksums': {'sha1': 'tarball-sha1', 'sha256': 'tarball-sha256'}, 'signed-off-by': 'some-dude'}), parents=(), id=b'\x01\xa7\x11O6\xfd\xdd^\xf2Q\x1b,\xad\xda#zh\xad\xbb\x12', extra_headers=((b'gpgsig', b'test123'), (b'mergetag', b'foo\\bar'), (b'mergetag', b'"\xaf\x89\x80\x01\x00')))
(Pdb) p set([self])
*** TypeError: unhashable type: 'dict'