Fix: support for .env files without EXPORT

This commit is contained in:
Arik Fraimovich
2014-04-20 09:43:17 +03:00
parent 362e5b820e
commit 6fe733aeaa
2 changed files with 9 additions and 1 deletions

View File

@@ -130,6 +130,7 @@ def list():
@data_sources_manager.command
def new(name, type, options):
"""Create new data source"""
# TODO: validate it's a valid type and in the future, validate the options.
print "Creating {} data source ({}) with options:\n{}".format(type, name, options)
data_source = models.DataSource.create(name=name,
type=type,