Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

avoid AttributeError

  • Loading branch information...
commit 0bc7cd7f2f4c3cdd3ca23235460be080ead5e3ac 1 parent 8e2a481
@jsundram jsundram authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  liclient/parsers/mappers.py
View
2  liclient/parsers/mappers.py
@@ -29,7 +29,7 @@ def xmlify(self):
return etree.tostring(self.xml)
def __str__(self):
- return self.update_content if self.update_content else '<No content>'
+ return self.update_content if hasattr(self, 'update_content') and self.update_content else '<No Content>'
class LinkedInError(LinkedInData):
def __repr__(self):
Please sign in to comment.
Something went wrong with that request. Please try again.