Skip to content

Commit

Permalink
Fix unicode vs ascii issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
mboldt committed Oct 10, 2016
1 parent 8885925 commit 8c9e6b0
Show file tree
Hide file tree
Showing 11 changed files with 12 additions and 14 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

from __future__ import absolute_import, division, print_function, unicode_literals
from __future__ import absolute_import, division, print_function
from setuptools import setup
import os
import sys
Expand Down
2 changes: 1 addition & 1 deletion tile_generator/bosh.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

from __future__ import absolute_import, division, print_function, unicode_literals
from __future__ import absolute_import, division, print_function
import os
import sys
import errno
Expand Down
2 changes: 1 addition & 1 deletion tile_generator/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

from __future__ import absolute_import, division, print_function, unicode_literals
from __future__ import absolute_import, division, print_function
import os
import sys
import errno
Expand Down
4 changes: 2 additions & 2 deletions tile_generator/build_unittest.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@
# See the License for the specific language governing permissions and
# limitations under the License.

from __future__ import absolute_import, division, print_function, unicode_literals
from __future__ import absolute_import, division, print_function
import unittest
from . import build
import sys
from contextlib import contextmanager
from io import StringIO
from StringIO import StringIO

@contextmanager
def capture_output():
Expand Down
2 changes: 1 addition & 1 deletion tile_generator/erb.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

from __future__ import absolute_import, division, print_function, unicode_literals
from __future__ import absolute_import, division, print_function
import os
import sys
import errno
Expand Down
2 changes: 1 addition & 1 deletion tile_generator/opsmgr.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

from __future__ import absolute_import, division, print_function, unicode_literals
from __future__ import absolute_import, division, print_function
import sys
import yaml
import json
Expand Down
2 changes: 1 addition & 1 deletion tile_generator/opsmgr_unittest.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

from __future__ import absolute_import, division, print_function, unicode_literals
from __future__ import absolute_import, division, print_function
import unittest
import mock
import requests
Expand Down
3 changes: 1 addition & 2 deletions tile_generator/pcf.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# no unicode_literals here because http://click.pocoo.org/python3/
from __future__ import absolute_import, division, print_function#, unicode_literals
from __future__ import absolute_import, division, print_function
import os
import sys
import yaml
Expand Down
2 changes: 1 addition & 1 deletion tile_generator/template.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

from __future__ import absolute_import, division, print_function, unicode_literals
from __future__ import absolute_import, division, print_function
import os
import sys
import errno
Expand Down
3 changes: 1 addition & 2 deletions tile_generator/tile.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# no unicode_literals here because http://click.pocoo.org/python3/
from __future__ import absolute_import, division, print_function#, unicode_literals
from __future__ import absolute_import, division, print_function
import click
import sys
import os
Expand Down
2 changes: 1 addition & 1 deletion tile_generator/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.

from __future__ import absolute_import, division, print_function, unicode_literals
from __future__ import absolute_import, division, print_function
import errno
import os
import requests
Expand Down

0 comments on commit 8c9e6b0

Please sign in to comment.