提交 400066ea 编写于 作者: I Ivo De Decker

daklib/rm.py: format date in python

上级 b3b9ffcf
......@@ -47,6 +47,7 @@ import functools
import six
import sqlalchemy.sql as sql
import subprocess
import email.utils
from re import sub
from collections import defaultdict
from .regexes import re_build_dep_arch
......@@ -376,7 +377,7 @@ def remove(session, reason, suites, removals,
whoami = utils.whoami()
if date is None:
date = subprocess.check_output(["date", "-R"]).rstrip()
date = email.utils.formatdate()
if partial and components:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册