changeset 5054:74b5e0318d4e stable

compat: import defaultdict from collections, sqlalchemy 0.8.0 dropped the shim
author Andrew Shadura <andrew@shadura.me>
date Tue, 21 Apr 2015 19:04:12 +0200
parents 7aef2c2289c8
children 539f3da5d965
files kallithea/model/comment.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/kallithea/model/comment.py	Tue Apr 21 09:05:24 2015 +0200
+++ b/kallithea/model/comment.py	Tue Apr 21 19:04:12 2015 +0200
@@ -28,7 +28,7 @@
 import logging
 
 from pylons.i18n.translation import _
-from sqlalchemy.util.compat import defaultdict
+from collections import defaultdict
 
 from kallithea.lib.utils2 import extract_mentioned_users, safe_unicode
 from kallithea.lib import helpers as h