Преглед на файлове

Fixed out-of-scope variable

Steve Kamerman преди 7 години
родител
ревизия
c417813df9
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      test/conftest.py

+ 1 - 1
test/conftest.py

@@ -257,7 +257,7 @@ def get_nginx_conf_from_container(container):
     strm, stat = container.get_archive('/etc/nginx/conf.d/default.conf')
     with tarfile.open(fileobj=StringIO(strm.read())) as tf:
         conffile = tf.extractfile('default.conf')
-    return conffile.read()
+        return conffile.read()
 
 
 def docker_compose_up(compose_file='docker-compose.yml'):