##// END OF EJS Templates
mail: add a TODO about proper mbox locking...
Matt Harbison -
r47760:10640224 stable
parent child Browse files
Show More
@@ -220,6 +220,7 b' def _sendmail(ui, sender, recipients, ms'
220
220
221 def _mbox(mbox, sender, recipients, msg):
221 def _mbox(mbox, sender, recipients, msg):
222 '''write mails to mbox'''
222 '''write mails to mbox'''
223 # TODO: use python mbox library for proper locking
223 with open(mbox, b'ab+') as fp:
224 with open(mbox, b'ab+') as fp:
224 # Should be time.asctime(), but Windows prints 2-characters day
225 # Should be time.asctime(), but Windows prints 2-characters day
225 # of month instead of one. Make them print the same thing.
226 # of month instead of one. Make them print the same thing.
General Comments 0
You need to be logged in to leave comments. Login now