Skip to content

Commit

Permalink
fix lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
tawalton committed Jul 20, 2014
1 parent 9e8d920 commit fb9c609
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mimic/core.py
Expand Up @@ -102,7 +102,7 @@ def _new_session(self, username_key=None, **attributes):
if attributes.get(key, None) is None:
attributes[key] = key + "_" + text_type(uuid4())
if attributes.get('tenant_id', None) is None:
attributes['tenant_id'] = text_type(uuid4().int)
attributes['tenant_id'] = text_type(uuid4().int)
if 'expires' not in attributes:
attributes['expires'] = (
datetime.utcfromtimestamp(self._clock.seconds())
Expand Down

0 comments on commit fb9c609

Please sign in to comment.