[Tarantool-patches] [PATCH v7 2/2] test: fix luacheck warnings in test/xlog-py
sergeyb at tarantool.org
sergeyb at tarantool.org
Wed Jan 13 16:56:54 MSK 2021
From: Sergey Bronnikov <sergeyb at tarantool.org>
Closes #5469
Reviewed-by: Vladislav Shpilevoy <v.shpilevoy at tarantool.org>
Reviewed-by: Igor Munkin <imun at tarantool.org>
Co-authored-by: Vladislav Shpilevoy <v.shpilevoy at tarantool.org>
Co-authored-by: Igor Munkin <imun at tarantool.org>
---
.luacheckrc | 1 -
test/xlog-py/box.lua | 2 +-
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/.luacheckrc b/.luacheckrc
index 5468ade25..62371f12a 100644
--- a/.luacheckrc
+++ b/.luacheckrc
@@ -47,7 +47,6 @@ exclude_files = {
"test/vinyl/**/*.lua",
"test/wal_off/**/*.lua",
"test/xlog/*.test.lua",
- "test/xlog-py/**/*.lua",
"third_party/**/*.lua",
".rocks/**/*.lua",
".git/**/*.lua",
diff --git a/test/xlog-py/box.lua b/test/xlog-py/box.lua
index c87f7b94b..8b9e9434f 100644
--- a/test/xlog-py/box.lua
+++ b/test/xlog-py/box.lua
@@ -1,5 +1,5 @@
#!/usr/bin/env tarantool
-os = require('os')
+local os = require('os')
box.cfg{
listen = os.getenv("LISTEN"),
--
2.25.1
More information about the Tarantool-patches
mailing list