Skip to content

Commit

Permalink
Debug formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
kostajh committed Jan 23, 2013
1 parent ae0396b commit 5e2a347
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bugwarrior/services/activecollab2.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def find_issues(self, user_id=None, project_id=None, project_name=None):
assigned_task['created_by_id'] = task[u'created_by_id']

if assigned_task:
log.debug("Adding '" + assigned_task['description'] + "' to issue list")
log.debug(" Adding '" + assigned_task['description'] + "' to issue list.")
assigned_tasks.append(assigned_task)
except:
log.debug('No user tasks loaded for "%s"' % project_name)
Expand Down Expand Up @@ -154,14 +154,14 @@ def issues(self):
# @todo Implement threading here.
for project in projects:
for project_id, project_name in project.iteritems():
log.debug("Getting tasks for #" + project_id + " " + project_name + '"')
log.debug(" Getting tasks for #" + project_id + " " + project_name + '"')
issues += self.client.find_issues(self.user_id, project_id, project_name)

log.debug(" Found {0} total.", len(issues))
global api_count
log.debug(" {0} API calls", api_count)
log.debug(" {0} tasks and tickets analyzed", task_count)
log.debug("Elapsed Time: %s" % (time.time() - start))
log.debug(" Elapsed Time: %s" % (time.time() - start))

return [dict(
description=self.description(
Expand Down

0 comments on commit 5e2a347

Please sign in to comment.