Skip to content

Commit

Permalink
add text property to Comment class
Browse files Browse the repository at this point in the history
  • Loading branch information
AutomatedTester committed Dec 11, 2014
1 parent a650788 commit 5c77c90
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion bugsy/bug.py
Expand Up @@ -285,9 +285,13 @@ def __init__(self, **kwargs):
self.creator = kwargs['creator']
self.id = kwargs['id']
self.is_private = kwargs['is_private']
self.text = kwargs['text']
self._text = kwargs['text']
self.time = str2datetime(kwargs['time'])

if 'tags' in kwargs:
self.tags = set(kwargs['tags'])

@property
def text(self):
return self._text

0 comments on commit 5c77c90

Please sign in to comment.