Add batch query limiting attribute.
* This prevents commands with excessive output from generating an unexpected IOError.testing/mmn/mktime_takes_localtime_not_gmtime
parent
b2b0d07c5e
commit
5891730de4
|
@ -421,6 +421,9 @@ class GPG(GPGBase):
|
|||
'sign': _parsers.Sign,
|
||||
'verify': _parsers.Verify,
|
||||
'packets': _parsers.ListPackets }
|
||||
#: The number of simultaneous keyids we should list operations like
|
||||
# '--list-sigs' to:
|
||||
_batch_limit = 25
|
||||
|
||||
def __init__(self, binary=None, homedir=None, verbose=False,
|
||||
use_agent=False, keyring=None, secring=None,
|
||||
|
|
Loading…
Reference in New Issue