Show More
@@ -580,7 +580,7 b' class bzmysql(bzaccess):' | |||
|
580 | 580 | self.ui.warn(_("Bugzilla/MySQL cannot update bug state\n")) |
|
581 | 581 | |
|
582 | 582 | (user, userid) = self.get_bugzilla_user(committer) |
|
583 | now = time.strftime('%Y-%m-%d %H:%M:%S') | |
|
583 | now = time.strftime(r'%Y-%m-%d %H:%M:%S') | |
|
584 | 584 | self.run('''insert into longdescs |
|
585 | 585 | (bug_id, who, bug_when, thetext) |
|
586 | 586 | values (%s, %s, %s, %s)''', |
@@ -719,7 +719,7 b' def debugstate(ui, repo, **opts):' | |||
|
719 | 719 | elif nodates: |
|
720 | 720 | timestr = 'set ' |
|
721 | 721 | else: |
|
722 | timestr = time.strftime("%Y-%m-%d %H:%M:%S ", | |
|
722 | timestr = time.strftime(r"%Y-%m-%d %H:%M:%S ", | |
|
723 | 723 | time.localtime(ent[3])) |
|
724 | 724 | if ent[1] & 0o20000: |
|
725 | 725 | mode = 'lnk' |
@@ -152,7 +152,7 b' def _mbox(mbox, sender, recipients, msg)' | |||
|
152 | 152 | fp = open(mbox, 'ab+') |
|
153 | 153 | # Should be time.asctime(), but Windows prints 2-characters day |
|
154 | 154 | # of month instead of one. Make them print the same thing. |
|
155 | date = time.strftime('%a %b %d %H:%M:%S %Y', time.localtime()) | |
|
155 | date = time.strftime(r'%a %b %d %H:%M:%S %Y', time.localtime()) | |
|
156 | 156 | fp.write('From %s %s\n' % (sender, date)) |
|
157 | 157 | fp.write(msg) |
|
158 | 158 | fp.write('\n\n') |
General Comments 0
You need to be logged in to leave comments.
Login now