diff options
Diffstat (limited to 'libbe/storage')
-rw-r--r-- | libbe/storage/__init__.py | 4 | ||||
-rw-r--r-- | libbe/storage/http.py | 4 | ||||
-rw-r--r-- | libbe/storage/util/properties.py | 2 | ||||
-rw-r--r-- | libbe/storage/util/settings_object.py | 6 | ||||
-rw-r--r-- | libbe/storage/vcs/__init__.py | 16 | ||||
-rw-r--r-- | libbe/storage/vcs/arch.py | 2 | ||||
-rw-r--r-- | libbe/storage/vcs/base.py | 2 | ||||
-rw-r--r-- | libbe/storage/vcs/bzr.py | 2 | ||||
-rw-r--r-- | libbe/storage/vcs/darcs.py | 2 | ||||
-rw-r--r-- | libbe/storage/vcs/git.py | 2 | ||||
-rw-r--r-- | libbe/storage/vcs/hg.py | 2 | ||||
-rw-r--r-- | libbe/storage/vcs/monotone.py | 2 |
12 files changed, 23 insertions, 23 deletions
diff --git a/libbe/storage/__init__.py b/libbe/storage/__init__.py index 9e26fa3..991859a 100644 --- a/libbe/storage/__init__.py +++ b/libbe/storage/__init__.py @@ -16,8 +16,8 @@ # You should have received a copy of the GNU General Public License along with # Bugs Everywhere. If not, see <http://www.gnu.org/licenses/>. -"""Define the :class:`~libbe.storage.base.Storage` and -:class:`~libbe.storage.base.VersionedStorage` classes for storing BE +"""Define the :py:class:`~libbe.storage.base.Storage` and +:py:class:`~libbe.storage.base.VersionedStorage` classes for storing BE data. Also define assorted implementations for the Storage classes: diff --git a/libbe/storage/http.py b/libbe/storage/http.py index 99912f3..030349d 100644 --- a/libbe/storage/http.py +++ b/libbe/storage/http.py @@ -16,7 +16,7 @@ # You should have received a copy of the GNU General Public License along with # Bugs Everywhere. If not, see <http://www.gnu.org/licenses/>. -"""Define an HTTP-based :class:`~libbe.storage.base.VersionedStorage` +"""Define an HTTP-based :py:class:`~libbe.storage.base.VersionedStorage` implementation. See Also @@ -50,7 +50,7 @@ if TESTING == True: class HTTP (base.VersionedStorage): - """:class:`~libbe.storage.base.VersionedStorage` implementation over + """:py:class:`~libbe.storage.base.VersionedStorage` implementation over HTTP. Uses GET to retrieve information and POST to set information. diff --git a/libbe/storage/util/properties.py b/libbe/storage/util/properties.py index f8d3767..77c0162 100644 --- a/libbe/storage/util/properties.py +++ b/libbe/storage/util/properties.py @@ -364,7 +364,7 @@ def change_hook_property(hook, mutable=False, default=None): t.x.append(5) # external modification t.x # dummy access notices change and triggers hook - See :class:`testChangeHookMutableProperty` for an example of the + See :py:class:`testChangeHookMutableProperty` for an example of the expected behavior. Parameters diff --git a/libbe/storage/util/settings_object.py b/libbe/storage/util/settings_object.py index 9e3ace5..819698f 100644 --- a/libbe/storage/util/settings_object.py +++ b/libbe/storage/util/settings_object.py @@ -18,7 +18,7 @@ # You should have received a copy of the GNU General Public License along with # Bugs Everywhere. If not, see <http://www.gnu.org/licenses/>. -"""Provides :class:`SavedSettingsObject` implementing settings-dict +"""Provides :py:class:`SavedSettingsObject` implementing settings-dict based property storage. See Also @@ -198,8 +198,8 @@ class SavedSettingsObject(object): properties. This is useful for BE objects with saved properties - (e.g. :class:`~libbe.bugdir.BugDir`, :class:`~libbe.bug.Bug`, - :class:`~libbe.comment.Comment`). For example usage, consider the + (e.g. :py:class:`~libbe.bugdir.BugDir`, :py:class:`~libbe.bug.Bug`, + :py:class:`~libbe.comment.Comment`). For example usage, consider the unittests at the end of the module. See Also diff --git a/libbe/storage/vcs/__init__.py b/libbe/storage/vcs/__init__.py index c6f17f0..9dadd73 100644 --- a/libbe/storage/vcs/__init__.py +++ b/libbe/storage/vcs/__init__.py @@ -17,17 +17,17 @@ # Bugs Everywhere. If not, see <http://www.gnu.org/licenses/>. """Define the Version Controlled System (VCS)-based -:class:`~libbe.storage.base.Storage` and -:class:`~libbe.storage.base.VersionedStorage` implementations. +:py:class:`~libbe.storage.base.Storage` and +:py:class:`~libbe.storage.base.VersionedStorage` implementations. -There is a base class (:class:`~libbe.storage.vcs.VCS`) translating +There is a base class (:py:class:`~libbe.storage.vcs.VCS`) translating Storage language to VCS language, and a number of `VCS` implementations: -* :class:`~libbe.storage.vcs.arch.Arch` -* :class:`~libbe.storage.vcs.bzr.Bzr` -* :class:`~libbe.storage.vcs.darcs.Darcs` -* :class:`~libbe.storage.vcs.git.Git` -* :class:`~libbe.storage.vcs.hg.Hg` +* :py:class:`~libbe.storage.vcs.arch.Arch` +* :py:class:`~libbe.storage.vcs.bzr.Bzr` +* :py:class:`~libbe.storage.vcs.darcs.Darcs` +* :py:class:`~libbe.storage.vcs.git.Git` +* :py:class:`~libbe.storage.vcs.hg.Hg` The base `VCS` class also serves as a filesystem Storage backend (not versioning) in the event that a user has no VCS installed. diff --git a/libbe/storage/vcs/arch.py b/libbe/storage/vcs/arch.py index 117a121..9874345 100644 --- a/libbe/storage/vcs/arch.py +++ b/libbe/storage/vcs/arch.py @@ -59,7 +59,7 @@ def new(): return Arch() class Arch(base.VCS): - """:class:`base.VCS` implementation for GNU Arch. + """:py:class:`base.VCS` implementation for GNU Arch. """ name = 'arch' client = client diff --git a/libbe/storage/vcs/base.py b/libbe/storage/vcs/base.py index cf02306..9de2fe3 100644 --- a/libbe/storage/vcs/base.py +++ b/libbe/storage/vcs/base.py @@ -20,7 +20,7 @@ # You should have received a copy of the GNU General Public License along with # Bugs Everywhere. If not, see <http://www.gnu.org/licenses/>. -"""Define the base :class:`VCS` (Version Control System) class, which +"""Define the base :py:class:`VCS` (Version Control System) class, which should be subclassed by other Version Control System backends. The base class implements a "do not version" VCS. """ diff --git a/libbe/storage/vcs/bzr.py b/libbe/storage/vcs/bzr.py index f449779..0c92058 100644 --- a/libbe/storage/vcs/bzr.py +++ b/libbe/storage/vcs/bzr.py @@ -54,7 +54,7 @@ def new(): return Bzr() class Bzr(base.VCS): - """:class:`base.VCS` implementation for Bazaar. + """:py:class:`base.VCS` implementation for Bazaar. """ name = 'bzr' client = None # bzrlib module diff --git a/libbe/storage/vcs/darcs.py b/libbe/storage/vcs/darcs.py index ad36cea..ec100b4 100644 --- a/libbe/storage/vcs/darcs.py +++ b/libbe/storage/vcs/darcs.py @@ -48,7 +48,7 @@ def new(): return Darcs() class Darcs(base.VCS): - """:class:`base.VCS` implementation for Darcs. + """:py:class:`base.VCS` implementation for Darcs. """ name='darcs' client='darcs' diff --git a/libbe/storage/vcs/git.py b/libbe/storage/vcs/git.py index b3276d5..7cf4652 100644 --- a/libbe/storage/vcs/git.py +++ b/libbe/storage/vcs/git.py @@ -278,7 +278,7 @@ class PygitGit(base.VCS): class ExecGit (PygitGit): - """:class:`base.VCS` implementation for Git. + """:py:class:`base.VCS` implementation for Git. """ name='git' client='git' diff --git a/libbe/storage/vcs/hg.py b/libbe/storage/vcs/hg.py index 8ca31c3..f2976ff 100644 --- a/libbe/storage/vcs/hg.py +++ b/libbe/storage/vcs/hg.py @@ -63,7 +63,7 @@ def new(): return Hg() class Hg(base.VCS): - """:class:`base.VCS` implementation for Mercurial. + """:py:class:`base.VCS` implementation for Mercurial. """ name='hg' client=None # mercurial module diff --git a/libbe/storage/vcs/monotone.py b/libbe/storage/vcs/monotone.py index 5dbc92b..abd3142 100644 --- a/libbe/storage/vcs/monotone.py +++ b/libbe/storage/vcs/monotone.py @@ -42,7 +42,7 @@ def new(): return Monotone() class Monotone (base.VCS): - """:class:`base.VCS` implementation for Monotone. + """:py:class:`base.VCS` implementation for Monotone. """ name='monotone' client='mtn' |