ponymail-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject [incubator-ponymail] branch master updated: Allow access to generator names
Date Thu, 05 Sep 2019 11:36:08 GMT
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 <sebb@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)


Mime
View raw message