mirror of
https://github.com/docker/compose.git
synced 2026-08-31 06:49:15 +00:00
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:
parent
9bc7604e0e
commit
7c087f1c07
3 changed files with 77 additions and 18 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue