fix-more
This commit is contained in:
parent
7084bdb1a9
commit
21eb082aa3
|
@ -339,7 +339,7 @@ async def migrate(entry, storage):
|
||||||
raise Exception("[migration] content_item.ratings error: \n%r" % content_rating)
|
raise Exception("[migration] content_item.ratings error: \n%r" % content_rating)
|
||||||
|
|
||||||
# shout views
|
# shout views
|
||||||
ViewedStorage.increment(shout_dict["slug"], amount=entry.get("views", 1))
|
await ViewedStorage.increment(shout_dict["slug"], amount=entry.get("views", 1))
|
||||||
# del shout_dict['ratings']
|
# del shout_dict['ratings']
|
||||||
shout_dict["oid"] = entry.get("_id")
|
shout_dict["oid"] = entry.get("_id")
|
||||||
storage["shouts"]["by_oid"][entry["_id"]] = shout_dict
|
storage["shouts"]["by_oid"][entry["_id"]] = shout_dict
|
||||||
|
|
|
@ -502,6 +502,7 @@
|
||||||
"oppozitsiya": "opposition",
|
"oppozitsiya": "opposition",
|
||||||
"orhan-pamuk": "orhan-pamuk",
|
"orhan-pamuk": "orhan-pamuk",
|
||||||
"ornitologiya": "ornitology",
|
"ornitologiya": "ornitology",
|
||||||
|
"osen": "autumn",
|
||||||
"osip-mandelshtam": "osip-mandelshtam",
|
"osip-mandelshtam": "osip-mandelshtam",
|
||||||
"oskar-uayld": "oscar-wilde",
|
"oskar-uayld": "oscar-wilde",
|
||||||
"osoznanie": "awareness",
|
"osoznanie": "awareness",
|
||||||
|
@ -658,6 +659,7 @@
|
||||||
"social": "society",
|
"social": "society",
|
||||||
"society": "society",
|
"society": "society",
|
||||||
"sociology": "sociology",
|
"sociology": "sociology",
|
||||||
|
"sotsiologiya-1": "sociology",
|
||||||
"sofya-paleolog": "sofya-paleolog",
|
"sofya-paleolog": "sofya-paleolog",
|
||||||
"sofya-vitovtovna": "sofya-vitovtovna",
|
"sofya-vitovtovna": "sofya-vitovtovna",
|
||||||
"soobschestva": "communities",
|
"soobschestva": "communities",
|
||||||
|
@ -677,6 +679,7 @@
|
||||||
"state": "state",
|
"state": "state",
|
||||||
"statistika": "statistics",
|
"statistika": "statistics",
|
||||||
"stendap": "stand-up",
|
"stendap": "stand-up",
|
||||||
|
"stihi": "poetry",
|
||||||
"stoitsizm": "stoicism",
|
"stoitsizm": "stoicism",
|
||||||
"stories": "stories",
|
"stories": "stories",
|
||||||
"stoyanie-na-ugre": "stoyanie-na-ugre",
|
"stoyanie-na-ugre": "stoyanie-na-ugre",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user