| Commit message (Collapse) | Author | Age |
|
|
|
| |
This probably isn't completely right, but it's a start.
|
|
|
|
| |
This module moved.
|
|
|
|
|
|
| |
this introduces a new argparse validation check that makes sure a
parameter is '+', '-', or an integer, and uses this check for the
'indent' thread mode command.
|
|\ |
|
| |
| |
| |
| |
| | |
This mostly shortens lines down to <=79 chars and fixes some other small
things I found using the pep8 tool.
|
|/ |
|
|
|
|
|
|
| |
In python3 Exception doesn't have a message attribute, the only way to
get the string output is to call str() on the Exception. This also works
in python 2.7, so go ahead and make that change.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This converts from the now abandoned pygpgme project for wrapping gpgme,
to the upstream gpgme python bindings (which are descended from the pyme
project, before they became official).
Largely this change should not be user visible, but there are a couple
cases where the new bindings provide slightly more detailed error
messages, and alot directly presents those messages to users.
This patch has been significantly revised and updated by Dylan Baker,
but was originally authored by Daniel Kahn Gillmor.
Fixes #1069
|
| |
|
|
|
|
| |
via cached properties
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This adds a new argparse.Action class validates input using a new
keyword argument that takes a validator function. This will allow us to
replace the use the type keyword as a validator, which is both more
correct, and frees up the type keyword to do what it's actually meant to
do, convert the input from one type to another.
It also adds 3 new validator functions that will be enabled in the next
commit. One that checks for a required file, one that checks for an
optional directory, and one that looks for a required file, fifo, or
block special device (/dev/null).
|
|
|
|
|
| |
Hide internal values from export and add a message to the TypeError raised
by the if the argument isn't in _TRUISH or _FALSISH.
|
|
|
|
| |
This is just more reorganization.
|
|
|
|
|
| |
This module is going to be enhanced with additional components in later
patches in this series, so it needs a more generic name.
|
| |
|
| |
|
|
|
|
|
|
| |
apparently the __call__ method got lost on the way.
Moreover the choices list must match the target type,
so is useless here
|
| |
|
|
|
|
| |
cf issue #472
|
| |
|
|
This action allows to set a boolean flag
via --foo=BAR, where BAR is y/n,true/false etc.
|