diff options
Diffstat (limited to 'devel')
-rwxr-xr-x | devel/nmbug/nmbug-status | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/devel/nmbug/nmbug-status b/devel/nmbug/nmbug-status index b1feee9f..65251764 100755 --- a/devel/nmbug/nmbug-status +++ b/devel/nmbug/nmbug-status @@ -9,7 +9,7 @@ from __future__ import print_function import datetime -import rfc822 +import email.utils import urllib import json import argparse @@ -128,7 +128,7 @@ def print_view(title, query, comment): val = str.join(' ', val.split(None)[1:4]) val = str(datetime.datetime.strptime(val, '%d %b %Y').date()) elif header == 'from': - (val, addr) = rfc822.parseaddr(val) + (val, addr) = email.utils.parseaddr(val) if val == '': val = addr.split('@')[0] |