# HG changeset patch # User souliane # Date 1448404969 -3600 # Node ID bf67dc424784d33bea036cf513a1a6b1ba4ce16a # Parent dbac3cb191599538c81173c82d3931894eb2a919 quick_frontend (quick_blog): remove tags2mbdata which is replaced by common.iter2dict diff -r dbac3cb19159 -r bf67dc424784 frontends/src/quick_frontend/quick_blog.py --- a/frontends/src/quick_frontend/quick_blog.py Tue Nov 24 23:28:11 2015 +0100 +++ b/frontends/src/quick_frontend/quick_blog.py Tue Nov 24 23:42:49 2015 +0100 @@ -461,16 +461,3 @@ raise ValueError("type_ should be ENTRY or COMMENT") if COMMENTS_CLS is None: COMMENTS_CLS = ENTRY_CLS - -def tags2mbdata(tags): - """Build from the tags a dict using the microblog data format. - - @param tags (list[unicode]): list of tags - @return dict - """ - data = {} - count = 0 - for tag in tags: - data[('tag#%i' % count) if count else 'tag'] = tag - count += 1 - return data