Skip to content

Commit b109676

Browse files
committed
Update .check_consistency to .validate_schema in doc and comment
1 parent 7700ac7 commit b109676

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

doc/examples.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ Kung fu
235235
tmuxp sessions can be scripted in python. The first way is to use the
236236
ORM in the :ref:`API`. The second is to pass a :py:obj:`dict` into
237237
:class:`tmuxp.WorkspaceBuilder` with a correct schema. See:
238-
:meth:`tmuxp.config.check_consistency`.
238+
:meth:`tmuxp.config.validate_schema`.
239239

240240
Add yours? Submit a pull request to the `github`_ site!
241241

tmuxp/workspacebuilder.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ def __init__(self, sconf, server=None):
7979
if not sconf:
8080
raise exc.EmptyConfigException('session configuration is empty.')
8181

82-
# config.check_consistency(sconf)
82+
# config.validate_schema(sconf)
8383

8484
if isinstance(server, Server):
8585
self.server = server

0 commit comments

Comments
 (0)