Shashwat Anand <anand.shash...@gmail.com> added the comment: Instead of “email.utils.formatdate(time, usegmt=True)” we can simply use time.strftime() and clean the code in a better way. The duplication is there in date_time_string() as well as log_date_time_string(). Submitting the patch for review.
---------- nosy: +l0nwlf Added file: http://bugs.python.org/file16890/BaseHTTPServer.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7370> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com