[elbe-devel] [PATCH 5/5] debianize: look at $DEBFULLNAME and $DEBEMAIL for maintainer

Torben Hohn torben.hohn at linutronix.de
Wed Mar 8 10:53:24 CET 2017


---
 elbepack/debianize/base.py | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/elbepack/debianize/base.py b/elbepack/debianize/base.py
index 7718f7f..4134957 100644
--- a/elbepack/debianize/base.py
+++ b/elbepack/debianize/base.py
@@ -85,11 +85,13 @@ class DebianizeBase (FormMultiPage):
                 value = [0],
                 scroll_exit = True)
 
+        fullname = os.environ.get ('DEBFULLNAME', failobj="Max Mustermann")
         self.m_name = self.add_widget_intelligent (TitleText,
-                name = "Maintainer:", value = "Max Mustermann")
+                name = "Maintainer:", value = fullname)
 
+        email = os.environ.get ('DEBEMAIL', failobj="max at mustermann.org")
         self.m_mail = self.add_widget_intelligent (TitleText,
-                name = "Mail:", value = "max at mustermann.org")
+                name = "Mail:", value = email)
 
         self.add_page ()
         self.gui ()
-- 
2.1.4





More information about the elbe-devel mailing list