Support fig.y(a)ml and show a deprecation warning

Closes #864

Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
This commit is contained in:
Aanand Prasad 2015-01-28 17:27:53 -05:00
parent 9bc7604e0e
commit 7c087f1c07
3 changed files with 77 additions and 18 deletions

View file

@ -56,7 +56,9 @@ class ConnectionErrorGeneric(UserError):
class ComposeFileNotFound(UserError):
def __init__(self, filename):
def __init__(self, supported_filenames):
super(ComposeFileNotFound, self).__init__("""
Can't find %s. Are you in the right directory?
""" % filename)
Can't find a suitable configuration file. Are you in the right directory?
Supported filenames: %s
""" % ", ".join(supported_filenames))