| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
|
|
|
| |
It does not actually save any code. The new code also uses a shell as is
documented.
Remove call_cmd(), as it no longer has any callers.
|
| |
|
|
|
|
|
|
| |
Python3 only supports "new-style" classes (those extending object),
and we don't need to explicitly inherit from this root class any more.
See http://pylint-messages.wikidot.com/messages:c1001
|
|
|
|
| |
to help troubleshoot problems
|
|
|
|
| |
They are not needed for python >= 3.0.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fixes the following crashes:
1. tag completion with regex special chars
:search tag:[<tab>
2. Changing tag representation of an (existing) tag with regex special
chars:
[tags]
[[my**tag]]
normal = '','', 'white','light red', 'white','#d66'
3. Contact completion with regex special chars and no external command:
To:**foo<tab>
|
|
|
|
|
| |
This mostly shortens lines down to <=79 chars and fixes some other small
things I found using the pep8 tool.
|
|
|
|
|
|
|
| |
One is an abstract method anyways and the other one is trivial. It just
calls two other functions that are already covered by tests.
This results in 100% test coverage for alot/addressbook/*.
|
| |
|
|
|
|
|
| |
The protected code only calls re.match and list.append so it should
never fail (and if it still fails it should not be silenced).
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The Completer class is abastract, and it's complete method is also
abstract. Using ABCMeta achieve two thing, first it will cause an error
if a developer doesn't overwrite the method in a subclass. And second
that it tells the static analysis tools to ignore the unused arguments
in the signature, since this is the definition of a signature, not an
actual function.
By the same logic addressbook.AddressBook, and account.Account have been
extended to use ABCMeta as their metaclass and have had their abstract
methods decorated with the abstract method attribute.
|
| |
|
|
|
|
|
| |
`del` and `return` are keywords and not functions so the braces are not
needed.
|
|
|
|
| |
commit 2f064af
|
|
|
|
|
| |
The name of the referenced class was changed in
637b679003b353d2630fed8ca942f3ab522e68b5.
|
|
|
|
| |
issue #764
|
|
|
|
|
|
| |
The class is now called ExternalAddressbook
and makes it optional to call the external command with
the given search string as parameter when looking up addresses
|
|
|