diff options
author | Dafydd Harries <daf@rhydd.org> | 2013-03-18 16:41:27 -0400 |
---|---|---|
committer | Dafydd Harries <daf@rhydd.org> | 2013-03-18 16:41:27 -0400 |
commit | 7a0b9e4d739d95a566d3244414dfc8c6232c61f0 (patch) | |
tree | 83bcf8c872eab4c7e8510aecc09d70b3ed7f9e5a | |
parent | 86edb92f5eaf68ef0068545a7b818f9d7eeafa6c (diff) |
add submission fields to entry template
-rw-r--r-- | export.py | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -1,5 +1,6 @@ # encoding: utf8 +import datetime import re import sys import textwrap @@ -27,6 +28,9 @@ def concat(xss): return all +def today(): + return datetime.datetime.now().strftime('%Y-%m-%d') + class Template(object): def __init__(self, name, values): self.name = name @@ -174,7 +178,9 @@ def export(pkgs, descs, cps, cpf, name): ('VCS checkout command', ''), ('Computer languages', ', '.join(langs)), ('Status', ''), - ('Is GNU', 'No')]) + ('Is GNU', 'No'), + ('Submitted by', 'Debian import'), + ('Submitted date', today())]) people = [] res = [] |