Skip to content

Commit

Permalink
bugfixes
Browse files Browse the repository at this point in the history
  • Loading branch information
kavdev committed May 30, 2016
1 parent 7e3c72a commit ce94093
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions CHANGES.rst
Expand Up @@ -3,6 +3,11 @@
Changes
=======

0.1.1 (2016-05-30)
----------------------

* Object names are now coerced to strings when initialized to avoid a TypeError

0.1.0 (2016-05-26)
----------------------

Expand Down
2 changes: 1 addition & 1 deletion README.rst
Expand Up @@ -38,7 +38,7 @@ Build a Connection object:

.. code-block:: python
from python-xirsys import Connection
from python_xirsys import Connection
connection = Connection(username="<xirsys_username>", secret_key="<xirsys_secret_key>"
Expand Down
2 changes: 1 addition & 1 deletion python_xirsys/__init__.py
Expand Up @@ -4,7 +4,7 @@
__summary__ = "A Python 3 interface to the XirSys API."
__uri__ = "https://github.com/kavdev/python-xirsys/"

__version__ = "0.1.0.post1"
__version__ = "0.1.1"

__author__ = "Alexander Kavanaugh"
__email__ = "alex@kavdev.io"
Expand Down
2 changes: 1 addition & 1 deletion python_xirsys/objects.py
Expand Up @@ -17,7 +17,7 @@ def __init__(self, connection):
self.connection = connection

def __str__(self):
return getattr(self, self.description_attribute)
return str(getattr(self, self.description_attribute))

def __repr__(self):
return "<{classname} [{description}]>".format(classname=str(self.__class__.__name__), description=str(self))
Expand Down

0 comments on commit ce94093

Please sign in to comment.