Skip to content

Commit

Permalink
Microformat updater: fix parser
Browse files Browse the repository at this point in the history
The object_id can be retrieved in more than one chunk,
then the parser should take carr of that.

Signed-off-by: Gonzalo Odiard <[email protected]>
  • Loading branch information
godiard authored and dnarvaez committed Feb 18, 2014
1 parent 36d99fb commit 299b1d1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/jarabe/model/update/microformat.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,10 @@ def handle_data(self, data):
self.group_desc = data.strip()

if self.in_activity_id > 0:
self.last_id = data.strip()
if self.last_id is None:
self.last_id = data.strip()
else:
self.last_id = self.last_id + data.strip()

if self.in_activity_version > 0:
try:
Expand Down

0 comments on commit 299b1d1

Please sign in to comment.