Barry Warsaw pushed to branch master at mailman / Mailman

Commits:
635993f6 by Mark Sapiro at 2016-12-30T05:11:43+00:00
Fix typos 
- - - - -
435db9e0 by Mark Sapiro at 2016-12-30T05:55:58+00:00
Yet another typo in database/types.py
- - - - -
615415cb by Barry Warsaw at 2016-12-30T17:29:51+00:00
Merge branch 'SAUnicodeLarge' into 'master'

Fix typos

Closes #302

See merge request !227
- - - - -


1 changed file:

- src/mailman/database/types.py


Changes:

=====================================
src/mailman/database/types.py
=====================================
--- a/src/mailman/database/types.py
+++ b/src/mailman/database/types.py
@@ -97,7 +97,7 @@ class SAUnicode(TypeDecorator):
 
 @compiles(SAUnicode)
 def default_sa_unicode(element, compiler, **kw):
-    return compiler.visit_Unicode(element, **kw)
+    return compiler.visit_unicode(element, **kw)
 
 
 @compiles(SAUnicode, 'mysql')
@@ -121,6 +121,6 @@ def compile_sa_unicode_large(element, compiler, **kw):
     return 'VARCHAR(510) COLLATE utf8_bin'
 
 
-@compiles(SAUnicode)
-def defalt_sa_unicode_large(element, compiler, **kw):
+@compiles(SAUnicodeLarge)
+def default_sa_unicode_large(element, compiler, **kw):
     return compiler.visit_unicode(element, **kw)



View it on GitLab: 
https://gitlab.com/mailman/mailman/compare/0550c741d6601ace0672f7602e1278ebf7881c95...615415cb45a8a7d8b26c744940b2e57ca72c1249
_______________________________________________
Mailman-checkins mailing list
Mailman-checkins@python.org
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org

Reply via email to