Skip to content

Commit

Permalink
Don't cover as this for python 2.
Browse files Browse the repository at this point in the history
  • Loading branch information
teleyinex committed Jan 18, 2019
1 parent f625e60 commit 7b7fb25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pybossa/otp.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def _create_url_token_key(token):


def generate_url_token(user_email):
if six.PY2:
if six.PY2: # pragma: no cover
token = uuid.uuid4().get_hex()
else:
token = uuid.uuid4().hex
Expand Down

0 comments on commit 7b7fb25

Please sign in to comment.