man page: fix the proper author of the project

And not the (original) author of the man page.

Signed-off-by: Cleber Rosa <crosa@redhat.com>
avocado/utils/crypto.py: remove get_random_string function

The exactly same function body is present under avocado/data_factory.py,
under the name generate_random_string.

Signed-off-by: Cleber Rosa <crosa@redhat.com>
avocado/utils/crypto.py: remove compatibility code for older Python versions

Avocado needs Python 2.7.0 and later, so there's no point in maintaining
compatibility code with older Python versions.

Signed-off-by: Cleber Rosa <crosa@redhat.com>
Merge pull request #227 from clebergnu/crypto_cleanup

Crypto cleanup
avocado.multiplexer: Expand the list comprehension.

Expand the list comprehension that handles filtering.

Signed-off-by: Rudá Moura <rmoura@redhat.com>
avocado.core.tree: Add method to detach a node.

Add method to detach a node from the tree.

Signed-off-by: Rudá Moura <rmoura@redhat.com>
avocado.core.tree: Adopt path_parent() from avocad.multiplexer.

Adopt function path_parent() from the module avocado.multiplexer.
We will need this when we move the filtering to the level of
the tree.

Signed-off-by: Rudá Moura <rmoura@redhat.com>
avocado.core.tree: Introduce function apply_filters().

Introduce function apply_filters(), which will prune
the tree that we use to multiplex and create variants,
by using rules for filter only and filter out, passed by
the command line (aka global filters).

It works for the test runner and for the multiplex plugin,
or anything that uses the TreeNode data structure with filters.

Signed-off-by: Rudá Moura <rmoura@redhat.com>
avocado.multiplexer: Ignore root node if it is leaf.

When getting leaves, if the node is root and alone, ignore it.
This situation is possible if filtering just preserves the root node,
so the root node will be leaf and returned.

That makes things a bit weird to get the variants,
because it will become one. So, we are going to ignore it.

Signed-off-by: Rudá Moura <rmoura@redhat.com>