From ad5c89dc684313b63ac5d4dc2f135b777f2aa8a3 Mon Sep 17 00:00:00 2001 From: Tobias Ulmer Date: Tue, 7 Aug 2012 10:47:27 +0200 Subject: [PATCH] Require lock module where needed Signed-off-by: Tobias Ulmer --- generic/e2lib.lua | 2 +- local/e2tool.lua | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/generic/e2lib.lua b/generic/e2lib.lua index 3e584aa..445e078 100644 --- a/generic/e2lib.lua +++ b/generic/e2lib.lua @@ -28,7 +28,7 @@ module("e2lib", package.seeall) require("strict") require("buildconfig") -require("lock") +local lock = require("lock") require("err") require("plugin") require("tools") diff --git a/local/e2tool.lua b/local/e2tool.lua index 35d3473..640df3b 100644 --- a/local/e2tool.lua +++ b/local/e2tool.lua @@ -46,7 +46,6 @@ require("environment") require("plugin") require("url") local hash = require("hash") -require("lock") require("e2util") require("e2option") local generic_git = require("generic_git") -- 2.39.5