Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Further scorelog cleanup #1

Open
wants to merge 1 commit into
base: cleanup_scorelog
Choose a base branch
from

Conversation

ta2-1
Copy link

@ta2-1 ta2-1 commented Sep 12, 2016

No description provided.

@coveralls
Copy link

Coverage Status

Coverage decreased (-65.8%) to 24.619% when pulling 7d27e58 on ta2-1:cleanup_scorelog into 7b5ee6a on phlax:cleanup_scorelog.

@coveralls
Copy link

coveralls commented Sep 12, 2016

Coverage Status

Coverage decreased (-0.001%) to 90.377% when pulling 4bc3a1a on ta2-1:cleanup_scorelog into 7b5ee6a on phlax:cleanup_scorelog.

@codecov-io
Copy link

Current coverage is 90.37% (diff: 100%)

Merging #1 into cleanup_scorelog will decrease coverage by <.01%

@@           cleanup_scorelog         #1   diff @@
==================================================
  Files                   481        481          
  Lines                 26897      26894     -3   
  Methods                   0          0          
  Messages                  0          0          
  Branches                  0          0          
==================================================
- Hits                  24309      24306     -3   
  Misses                 2588       2588          
  Partials                  0          0          

Powered by Codecov. Last update 7b5ee6a...4bc3a1a

if not isinstance(score["user"], models.Model):
score["user_id"] = score["user"]
del score["user"]
if 'action_code' in score and score['user_id'] is not None:
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ta2-1 in my testing sometimes the user was a real user object - in these cases it saves sql to pass it through

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants