Skip to content

Commit e0b5630

Browse files
committed
Remove deprecation warning
1 parent 4820442 commit e0b5630

1 file changed

Lines changed: 0 additions & 15 deletions

File tree

cumulusci/utils/yaml/cumulusci_yml.py

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -278,9 +278,6 @@ class ErrorDict(TypedDict):
278278
type: str
279279

280280

281-
has_shown_yaml_error_message = False
282-
283-
284281
def _log_yaml_errors(logger, errors: List[ErrorDict]):
285282
"Format and log a Pydantic-style error dictionary"
286283
global has_shown_yaml_error_message
@@ -289,18 +286,6 @@ def _log_yaml_errors(logger, errors: List[ErrorDict]):
289286
for error in errors:
290287
loc = " -> ".join(repr(x) for x in error["loc"] if x != "__root__")
291288
logger.warning(" %s\n %s", loc, error["msg"])
292-
if not has_shown_yaml_error_message:
293-
logger.error(
294-
"NOTE: These warnings will become errors on Sept 30, 2022.\n\n"
295-
"If you need to put non-standard data in your CumulusCI file "
296-
"(for some form of project-specific setting), put it in "
297-
"the `project: custom:` section of `cumulusci.yml` ."
298-
)
299-
logger.error(
300-
"If you think your YAML has no error, please report the bug to the CumulusCI team."
301-
)
302-
logger.error("https://github.com/SFDO-Tooling/CumulusCI/issues/\n")
303-
has_shown_yaml_error_message = True
304289

305290

306291
def cci_safe_load(

0 commit comments

Comments
 (0)