##// END OF EJS Templates
py3.13: Fix DeprecationWarning: 'count' is passed as positional argument
Mads Kiilerich -
r8791:b9332da7 stable
parent child Browse files
Show More
@@ -57,7 +57,7 def get_tag_uri(url, date):
57 "Creates a TagURI. See http://diveintomark.org/archives/2004/05/28/howto-atom-id"
57 "Creates a TagURI. See http://diveintomark.org/archives/2004/05/28/howto-atom-id"
58 tag = re.sub('^http://', '', url)
58 tag = re.sub('^http://', '', url)
59 if date is not None:
59 if date is not None:
60 tag = re.sub('/', ',%s:/' % date.strftime('%Y-%m-%d'), tag, 1)
60 tag = re.sub('/', ',%s:/' % date.strftime('%Y-%m-%d'), tag, count=1)
61 tag = re.sub('#', '/', tag)
61 tag = re.sub('#', '/', tag)
62 return 'tag:' + tag
62 return 'tag:' + tag
63
63
General Comments 0
You need to be logged in to leave comments. Login now