From 004ca4a4ee478f7182f9689e57f49e86faac82a3 Mon Sep 17 00:00:00 2001 From: David Read Date: Wed, 25 Jan 2012 11:35:59 +0000 Subject: [PATCH] [model][xs]: Avoid unicode warning. --- ckanext/harvest/model/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ckanext/harvest/model/__init__.py b/ckanext/harvest/model/__init__.py index 7ad8921..1f98316 100644 --- a/ckanext/harvest/model/__init__.py +++ b/ckanext/harvest/model/__init__.py @@ -138,7 +138,7 @@ def create_harvester_tables(): # Was harvested_document harvest_object_table = Table('harvest_object', metadata, Column('id', types.UnicodeText, primary_key=True, default=make_uuid), - Column('guid', types.UnicodeText, default=''), + Column('guid', types.UnicodeText, default=u''), Column('gathered', DateTime, default=datetime.datetime.utcnow), Column('fetch_started', DateTime), Column('content', types.UnicodeText, nullable=True),