from __future__ import unicode_literals

This commit is contained in:
Martin Zimmermann 2014-07-09 09:19:48 +02:00
parent ee8a84c0b2
commit 35acf1e17e
9 changed files with 14 additions and 5 deletions

View File

@ -25,7 +25,7 @@
# #
# Isso a lightweight Disqus alternative # Isso a lightweight Disqus alternative
from __future__ import print_function from __future__ import print_function, unicode_literals
import pkg_resources import pkg_resources
dist = pkg_resources.get_distribution("isso") dist = pkg_resources.get_distribution("isso")

View File

@ -1,6 +1,6 @@
# -*- encoding: utf-8 -*- # -*- encoding: utf-8 -*-
from __future__ import print_function from __future__ import print_function, unicode_literals
import io import io
import time import time

View File

@ -1,5 +1,7 @@
# -*- encoding: utf-8 -*- # -*- encoding: utf-8 -*-
from __future__ import unicode_literals
import os import os
import logging import logging

View File

@ -1,5 +1,7 @@
# -*- encoding: utf-8 -*- # -*- encoding: utf-8 -*-
from __future__ import unicode_literals
import os import os
from isso import make_app from isso import make_app

View File

@ -1,6 +1,6 @@
# -*- encoding: utf-8 -*- # -*- encoding: utf-8 -*-
from __future__ import division from __future__ import division, unicode_literals
import pkg_resources import pkg_resources
werkzeug = pkg_resources.get_distribution("werkzeug") werkzeug = pkg_resources.get_distribution("werkzeug")

View File

@ -1,5 +1,5 @@
from __future__ import print_function from __future__ import print_function, unicode_literals
import datetime import datetime
from itertools import chain from itertools import chain

View File

@ -1,5 +1,7 @@
# -*- encoding: utf-8 -*- # -*- encoding: utf-8 -*-
from __future__ import unicode_literals
import re import re
import cgi import cgi
import time import time

View File

@ -1,5 +1,7 @@
# -*- encoding: utf-8 -*- # -*- encoding: utf-8 -*-
from __future__ import unicode_literals
import socket import socket
try: try:

View File

@ -1,8 +1,9 @@
#!/usr/bin/env python #!/usr/bin/env python
# -*- encoding: utf-8 -*- # -*- encoding: utf-8 -*-
import sys from __future__ import unicode_literals
import sys
from setuptools import setup, find_packages from setuptools import setup, find_packages
requires = ['itsdangerous', 'misaka', 'html5lib'] requires = ['itsdangerous', 'misaka', 'html5lib']