From b649fdae6646634b20f9071a558028bee84e2846 Mon Sep 17 00:00:00 2001 From: Daniel Kahn Gillmor Date: Wed, 17 Jul 2019 02:29:34 -0400 Subject: [PATCH] strip unnecessary trailing whitespace Signed-off-by: Daniel Kahn Gillmor --- docs/source/progress.rst | 2 +- test_load_asc_bench.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/source/progress.rst b/docs/source/progress.rst index bbaccdd..fb6a985 100644 --- a/docs/source/progress.rst +++ b/docs/source/progress.rst @@ -265,7 +265,7 @@ This section covers things that are considered extensions to PGP, but are not co :HKP: - Discovery, False, Round robin DNS and SRV lookups (section 7. Locating a HKP Keyserver) - Index, False, Look up keys on key server, with multiple possible matches (section 3.1.2.2. The "index" Operation) - - Get, False, Retrieve keys from key server, single fingerprint fetch (section 3.1.2.1. The "get" operation) + - Get, False, Retrieve keys from key server, single fingerprint fetch (section 3.1.2.1. The "get" operation) - Post, False, Send keys to key server (section 4. Submitting Keys To A Keyserver) .. progress:: OpenPGP Web Key Service (WKS) diff --git a/test_load_asc_bench.py b/test_load_asc_bench.py index 8b84b2e..1d9cf59 100644 --- a/test_load_asc_bench.py +++ b/test_load_asc_bench.py @@ -143,7 +143,7 @@ pbar3.finish() print("\n\n") print('Parsed Packet Stats\n') -pcnts = collections.Counter(['{cls:s} v{v:d}'.format(cls=c.__class__.__name__, v=c.version) if hasattr(c, 'version') else c.__class__.__name__ +pcnts = collections.Counter(['{cls:s} v{v:d}'.format(cls=c.__class__.__name__, v=c.version) if hasattr(c, 'version') else c.__class__.__name__ for c in packets if not isinstance(c, pgpy.packet.Opaque)] + ['Opaque [{:02d}]{:s}'.format(c.header.tag, '[v{:d}]'.format(c.header.version) if hasattr(c.header, 'version') else '') for c in packets if isinstance(c, pgpy.packet.Opaque)])