Skip to content
This repository has been archived by the owner on Feb 8, 2018. It is now read-only.

Commit

Permalink
Tighten type constraint slightly
Browse files Browse the repository at this point in the history
  • Loading branch information
chadwhitacre committed Jun 27, 2012
1 parent ecbce11 commit 274d23b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gittip/networks.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,9 @@ def upsert(network, user_id, username, user_info, claim=False):
"""
typecheck( network, str
, user_id, (int, unicode)
, username, unicode
, user_info, dict
, claim, bool
)
user_id = unicode(user_id)

Expand Down

0 comments on commit 274d23b

Please sign in to comment.