strip unnecessary trailing whitespace

Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
This commit is contained in:
Daniel Kahn Gillmor
2019-07-17 02:29:34 -04:00
parent d8adc3287f
commit b649fdae66
2 changed files with 2 additions and 2 deletions

View File

@@ -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)

View File

@@ -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)])