Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
guidowb committed Oct 10, 2016
2 parents 136a8d0 + 8c9e6b0 commit 110b1d9
Show file tree
Hide file tree
Showing 11 changed files with 13 additions and 18 deletions.
7 changes: 2 additions & 5 deletions 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 All @@ -37,10 +37,7 @@ def get_version():
with open(version_file) as f:
return f.read()
except:
version = '0.0.0'
print("Warning: Generating default version", version, file=sys.stderr)
print("To override this, please create a file", version_file, "with the tile-generator version in it.", file=sys.stderr)
return version
return '0.0.0'

setup(
name = "tile-generator",
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 110b1d9

Please sign in to comment.