diff options
author | W. Trevor King <wking@tremily.us> | 2012-10-26 08:42:14 -0400 |
---|---|---|
committer | W. Trevor King <wking@tremily.us> | 2012-10-26 08:42:14 -0400 |
commit | e186cfedadf43deb4b265d06be560bf5e5d81dc6 (patch) | |
tree | 3d5b8d6a2139932f5be63f98cf32d2302e664b98 /libbe/storage/vcs/base.py | |
parent | 3354bfda0d54f860f7c83db76dd32e395cd5d1ee (diff) | |
download | bugseverywhere-e186cfedadf43deb4b265d06be560bf5e5d81dc6.tar.gz |
doc: update :data: to :py:data: for modern Sphinx.
Diffstat (limited to 'libbe/storage/vcs/base.py')
-rw-r--r-- | libbe/storage/vcs/base.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libbe/storage/vcs/base.py b/libbe/storage/vcs/base.py index 9de2fe3..845336d 100644 --- a/libbe/storage/vcs/base.py +++ b/libbe/storage/vcs/base.py @@ -57,7 +57,7 @@ Don't list this module, it is implicitly last. """ def set_preferred_vcs(name): - """Manipulate :data:`VCS_ORDER` to place `name` first. + """Manipulate :py:data:`VCS_ORDER` to place `name` first. This is primarily indended for testing purposes. """ @@ -70,7 +70,7 @@ def set_preferred_vcs(name): def _get_matching_vcs(matchfn): """Return the first module for which matchfn(VCS_instance) is True. - Searches in :data:`VCS_ORDER`. + Searches in :py:data:`VCS_ORDER`. """ for submodname in VCS_ORDER: module = import_by_name('libbe.storage.vcs.%s' % submodname) @@ -82,7 +82,7 @@ def _get_matching_vcs(matchfn): def vcs_by_name(vcs_name): """Return the module for the VCS with the given name. - Searches in :data:`VCS_ORDER`. + Searches in :py:data:`VCS_ORDER`. """ if vcs_name == VCS.name: return new() @@ -91,14 +91,14 @@ def vcs_by_name(vcs_name): def detect_vcs(dir): """Return an VCS instance for the vcs being used in this directory. - Searches in :data:`VCS_ORDER`. + Searches in :py:data:`VCS_ORDER`. """ return _get_matching_vcs(lambda vcs: vcs._detect(dir)) def installed_vcs(): """Return an instance of an installed VCS. - Searches in :data:`VCS_ORDER`. + Searches in :py:data:`VCS_ORDER`. """ return _get_matching_vcs(lambda vcs: vcs.installed()) |