You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ponymail.apache.org by se...@apache.org on 2019/09/05 11:36:08 UTC

[incubator-ponymail] branch master updated: Allow access to generator names

This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ponymail.git


The following commit(s) were added to refs/heads/master by this push:
     new 28b4717  Allow access to generator names
28b4717 is described below

commit 28b47175b0bc2dd05f31f90dd781c0f5e2c5bd6a
Author: Sebb <se...@apache.org>
AuthorDate: Thu Sep 5 12:36:00 2019 +0100

    Allow access to generator names
---
 tools/generators.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tools/generators.py b/tools/generators.py
index 0de3309..9a84693 100644
--- a/tools/generators.py
+++ b/tools/generators.py
@@ -247,3 +247,6 @@ def generator(name):
 
 def generate(name, msg, body, lid, attachments):
     return generator(name)(msg, body, lid, attachments)
+
+def generator_names():
+    return list(__GENERATORS)