Skip to content

Commit

Permalink
Let's actually explain how this works.
Browse files Browse the repository at this point in the history
  • Loading branch information
coddingtonbear committed Mar 6, 2014
1 parent 6df94a8 commit 0dfd5cd
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion bugwarrior/db.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,11 +106,16 @@ def hamdist(str1, str2):
def find_local_uuid(tw, keys, issue, legacy_matching=True):
""" For a given issue issue, find its local UUID.
Assembles a list of task IDs existing in taskwarrior
matching the supplied issue (`issue`) on the combination of any
set of supplied unique identifiers (`keys`) or, optionally,
the task's description field (should `legacy_matching` be `True`).
:params:
* `tw`: An instance of `taskw.TaskWarriorShellout`
* `keys`: A list of lists of keys to use for uniquely identifying
an issue. To clarify the "list of lists" behavior, assume that
there are two services, one having a single primary key field
there are two services, one having a single primary key field
-- 'serviceAid' -- and another having a pair of fields composing
its primary key -- 'serviceBproject' and 'serviceBnumber' --, the
incoming data for this field would be::
Expand Down

0 comments on commit 0dfd5cd

Please sign in to comment.