(self)
| 639 | return info |
| 640 | |
| 641 | def __str__(self): |
| 642 | return """\ |
| 643 | Repository: {location} |
| 644 | Archive name: {0.name} |
| 645 | Archive fingerprint: {0.fpr} |
| 646 | Time (nominal): {time} |
| 647 | Time (start): {start} |
| 648 | Time (end): {end} |
| 649 | Duration: {0.duration} |
| 650 | """.format( |
| 651 | self, |
| 652 | time=OutputTimestamp(self.timestamp), |
| 653 | start=OutputTimestamp(self.start), |
| 654 | end=OutputTimestamp(self.end), |
| 655 | location=self.repository._location.canonical_path(), |
| 656 | ) |
| 657 | |
| 658 | def __repr__(self): |
| 659 | return "Archive(%r)" % self.name |
nothing calls this directly
no test coverage detected