Skip to content

Commit

Permalink
Unbroke the stuff I broke in 0.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Sean Myers committed Aug 17, 2014
1 parent bb7518f commit 8aa4b64
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 13 deletions.
6 changes: 4 additions & 2 deletions cfn_pyplates/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
from schema import Schema, Use, Or
import yaml

from cfn_pyplates import __version__, core, functions
from cfn_pyplates import core, functions
from cfn_pyplates.exceptions import Error
from cfn_pyplates.options import OptionsMapping

Expand Down Expand Up @@ -94,7 +94,9 @@ def generate():
Be careful.
"""
args = docopt(generate.__doc__, version=__version__)
from pkg_resources import require
version = require("cfn-pyplates")[0].version
args = docopt(generate.__doc__, version=version)
scheme = Schema({
'<pyplate>': Use(open),
'<outfile>': Or(None, '-', Use(_open_writable)),
Expand Down
11 changes: 0 additions & 11 deletions tests/test_version.py

This file was deleted.

0 comments on commit 8aa4b64

Please sign in to comment.