Stylistic cleanup
When description or due_date are None, don't include them.
Don't fail when _milestone isn't present.
Normalize whitespace
Import milestone module under a different name so it doesn't conflict with local variable on line 47.
Correct typos.
Reindent long lines for readability
Rename variable for clarity; use with statement for simplicity.
Again, simplify dict lookup.
More simply resolve usernames
Use argparse for simpler implementation.
Add a --user-map argument to load the user map from a json file, rather than requiring the user to edit a module.

--HG--
extra : rebase_source : ef5c645e11b0b47eccf87d6c19e39cbe7d289fcb
extra : amend_source : e4a3c53059f20a7211b828e62993171a03bcd3d3
Move the global variable after the imports, as it's now primarily accessed programmatically, rather than hand-edited.