Skip to content

Instantly share code, notes, and snippets.

@jerith
Created February 29, 2016 09:45
Show Gist options
  • Select an option

  • Save jerith/43eea81ae11363db4afc to your computer and use it in GitHub Desktop.

Select an option

Save jerith/43eea81ae11363db4afc to your computer and use it in GitHub Desktop.
diff --git a/mc2/controllers/base/models.py b/mc2/controllers/base/models.py
index 65a69cb..4283fff 100644
--- a/mc2/controllers/base/models.py
+++ b/mc2/controllers/base/models.py
@@ -1,8 +1,3 @@
-import os
-import pwd
-
-os.getlogin = lambda: pwd.getpwuid(os.getuid())[0] # noqa
-
import requests
from django.db import models
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment