Skip to content

Commit 1647a88

Browse files
author
Clark Perkins
committed
Moved blueprints stuff inside the cli package
1 parent f7113cf commit 1647a88

File tree

6 files changed

+3
-4
lines changed

6 files changed

+3
-4
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def test_python_version():
8484
entry_points={
8585
'console_scripts': [
8686
'stackdio-cli=stackdio.cli:main',
87-
'blueprint-generator=stackdio.blueprints:main',
87+
'blueprint-generator=stackdio.cli.blueprints:main',
8888
],
8989
},
9090
classifiers=[

stackdio/cli/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
#!/usr/bin/env python
22

3-
__version__ = '0.2.dev'
4-
53
import argparse
64
import json
75
import os

stackdio/cli/mixins/blueprints.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
from cmd2 import Cmd
88

99
from stackdio.client.exceptions import StackException
10-
from stackdio.blueprints.generator import BlueprintGenerator, BlueprintException
10+
from stackdio.cli.blueprints.generator import BlueprintGenerator, BlueprintException
1111

1212

1313
class BlueprintNotFound(Exception):

stackdio/cli/mixins/bootstrap.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ class PublicKeyNotFound(Exception):
2020
class BootstrapMixin(Cmd):
2121

2222
def __init__(self):
23+
super(BootstrapMixin, self).__init__()
2324

2425
# quieting down pylint
2526
self.has_public_key = None

0 commit comments

Comments
 (0)