summaryrefslogtreecommitdiffstats
path: root/src/fetch/scripts/ministerio_de_cultura.py
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-21 14:07:30 -0600
committerTimothy Pearson <[email protected]>2011-12-21 14:07:30 -0600
commit68b0d93f005081933603e1d07d6ebece55cf4502 (patch)
tree75b69804a6d7855f437992b56df438c1805a3e42 /src/fetch/scripts/ministerio_de_cultura.py
parent26f93a7d9105483b49ae930545ddb2873156fa8e (diff)
downloadtellico-68b0d93f005081933603e1d07d6ebece55cf4502.tar.gz
tellico-68b0d93f005081933603e1d07d6ebece55cf4502.zip
Rename obsolete tq methods to standard names
Diffstat (limited to 'src/fetch/scripts/ministerio_de_cultura.py')
-rw-r--r--src/fetch/scripts/ministerio_de_cultura.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fetch/scripts/ministerio_de_cultura.py b/src/fetch/scripts/ministerio_de_cultura.py
index 7f949ba..8a768f9 100644
--- a/src/fetch/scripts/ministerio_de_cultura.py
+++ b/src/fetch/scripts/ministerio_de_cultura.py
@@ -155,9 +155,9 @@ class BasicTellicoDOM:
# Convert all strings to UTF-8
for i in d.keys():
if type(d[i]) == types.ListType:
- d[i] = [tqunicode(d[i][j], 'latin-1').encode('utf-8') for j in range(len(d[i]))]
+ d[i] = [unicode(d[i][j], 'latin-1').encode('utf-8') for j in range(len(d[i]))]
elif type(d[i]) == types.StringType:
- d[i] = tqunicode(d[i], 'latin-1').encode('utf-8')
+ d[i] = unicode(d[i], 'latin-1').encode('utf-8')
entryNode = self.__doc.createElement('entry')
entryNode.setAttribute('id', str(self.__currentId))