opened
carlosviol
username_0
The Openshift Platform uses a ".env" folder, that has VARIABLE_NAME file with the value as file content, and that conflicts with decouple.

Maybe we need to create other Parser for this format, or change the .env parser.

Traceback:
  File "/var/lib/openshift/558098a099fc7700aa/app-root/runtime/dependencies/python/virtenv/lib/python2.7/site-packages/decouple.py", line 196, in __call__
    self._load(self._caller_path())
  File "/var/lib/openshift/558098a099fc7700aa/app-root/runtime/dependencies/python/virtenv/lib/python2.7/site-packages/decouple.py", line 186, in _load
    self.config = Config(Repository(filename))
  File "/var/lib/openshift/558098a099fc7700aa/app-root/runtime/dependencies/python/virtenv/lib/python2.7/site-packages/decouple.py", line 115, in __init__
    for line in open(source):
IOError: [Errno 21] Is a directory: '/var/lib/openshift/558098a099fc7700aa/.env'
Problem with Openshift Platform and .env folder
issue
closed
henriquebastos
username_1
issue
created
henriquebastos
username_1
Fixed by #17
comment