Comment fixes: "an Trovebox" -> "a Trovebox"

This commit is contained in:
Pete 2013-08-19 14:10:15 +01:00
parent fd5389e0d7
commit 06362721f0
8 changed files with 8 additions and 8 deletions

View file

@ -28,7 +28,7 @@ class ApiAlbum(object):
"""
Delete an album.
Returns True if successful.
Raises an TroveboxError if not.
Raises a TroveboxError if not.
"""
if not isinstance(album, Album):
album = Album(self._client, {"id": album})

View file

@ -64,7 +64,7 @@ class ApiPhoto(object):
"""
Delete a photo.
Returns True if successful.
Raises an TroveboxError if not.
Raises a TroveboxError if not.
"""
if not isinstance(photo, Photo):
photo = Photo(self._client, {"id": photo})

View file

@ -29,7 +29,7 @@ class ApiTag(object):
"""
Delete a tag.
Returns True if successful.
Raises an TroveboxError if not.
Raises a TroveboxError if not.
"""
if not isinstance(tag, Tag):
tag = Tag(self._client, {"id": tag})

View file

@ -2,7 +2,7 @@
errors.py : Trovebox Error Classes
"""
class TroveboxError(Exception):
""" Indicates that an Trovebox operation failed """
""" Indicates that a Trovebox operation failed """
pass
class TroveboxDuplicateError(TroveboxError):

View file

@ -25,7 +25,7 @@ DUPLICATE_RESPONSE = {"code": 409,
class Http(object):
"""
Base class to handle HTTP requests to an Trovebox server.
Base class to handle HTTP requests to a Trovebox server.
If no parameters are specified, auth config is loaded from the
default location (~/.config/trovebox/default).
The config_file parameter is used to specify an alternate config file.

View file

@ -28,7 +28,7 @@ class Album(TroveboxObject):
"""
Delete this album.
Returns True if successful.
Raises an TroveboxError if not.
Raises a TroveboxError if not.
"""
result = self._trovebox.post("/album/%s/delete.json" %
self.id, **kwds)["result"]

View file

@ -10,7 +10,7 @@ class Photo(TroveboxObject):
"""
Delete this photo.
Returns True if successful.
Raises an TroveboxError if not.
Raises a TroveboxError if not.
"""
result = self._trovebox.post("/photo/%s/delete.json" %
self.id, **kwds)["result"]

View file

@ -15,7 +15,7 @@ class Tag(TroveboxObject):
"""
Delete this tag.
Returns True if successful.
Raises an TroveboxError if not.
Raises a TroveboxError if not.
"""
result = self._trovebox.post("/tag/%s/delete.json" %
quote(self.id), **kwds)["result"]