Commits

Russell Moffitt  committed b903f76

cleaning up _get_access_keys override

  • Participants
  • Parent commits b2ac30a

Comments (0)

Files changed (1)

File storages/backends/s3botomulti.py

             def _get_access_keys(self):
                 access_key = ACCESS_KEY_NAME
                 secret_key = SECRET_KEY_NAME
-                if (access_key or secret_key) and (not access_key or not secret_key):
-                   access_key = os.environ.get(ACCESS_KEY_NAME)
-                   secret_key = os.environ.get(SECRET_KEY_NAME)
-
                 if access_key and secret_key:
                     # Both were provided, so use them
                     return access_key, secret_key