Traceback (most recent call last):

 "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
self.run()

 "/usr/lib/python2.7/threading.py", line 763, in run
self.__target(_self.__args, *_self.__kwargs)

 "./tumblr_backup.py", line 892, in handler
work()

 "./tumblr_backup.py", line 609, in save_content
url = post['permalink_url'] if post['html5_capable'] else post['source_url']KeyError: 'source_url'
Traceback (most recent call last):

 "/git/webapps-flaskdoc/env/lib/python2.6/site-packages/nose/loader.py", line 414, in loadTestsFromName
addr.filename, addr.module)

 "/git/webapps-flaskdoc/env/lib/python2.6/site-packages/nose/importer.py", line 47, in importFromPath
return self.importFromDir(dir_path, fqname)

 "/git/webapps-flaskdoc/env/lib/python2.6/site-packages/nose/importer.py", line 94, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)

 "/git/webapps-flaskdoc/quokka/quokka/modules/accounts/tests/test_model.py", line 4, in <module>
from quokka.core.tests import BaseTestCase

 "/git/webapps-flaskdoc/quokka/quokka/core/tests/__init__.py", line 5, in <module>
from quokka.core.admin import create_admin

 "/git/webapps-flaskdoc/quokka/quokka/core/admin/__init__.py", line 9, in <module>
from ..models import (Link, Config, SubContentPurpose, ChannelType,

 "/git/webapps-flaskdoc/quokka/quokka/core/models.py", line 298
for c in self.get_ancestors(channel_type__ne=None)
^SyntaxError: invalid syntax