add support for "firstchar" in patterns
This commit is contained in:
parent
f5879c5ab0
commit
ea095463e1
1 changed files with 1 additions and 0 deletions
|
@ -56,6 +56,7 @@ def build_urls(fields):
|
||||||
fpr = keyfinder.getFingerprintByEmail(fields['email'].encode('utf8'))
|
fpr = keyfinder.getFingerprintByEmail(fields['email'].encode('utf8'))
|
||||||
if fpr:
|
if fpr:
|
||||||
qfields['gpgfp'] = fpr[0]
|
qfields['gpgfp'] = fpr[0]
|
||||||
|
qfields['firstchar'] = fields['email'][0].encode('utf8')
|
||||||
for section in [section.strip() for section in \
|
for section in [section.strip() for section in \
|
||||||
my_config.get('DEFAULT',
|
my_config.get('DEFAULT',
|
||||||
'urlbuilder.sections').split(',')]:
|
'urlbuilder.sections').split(',')]:
|
||||||
|
|
Loading…
Reference in a new issue