]> git.e2factory.org Git - e2factory.git/commitdiff
Remove unused parameters from e2tool.check_project_info()
authorTobias Ulmer <tu@emlix.com>
Fri, 3 May 2013 11:16:31 +0000 (13:16 +0200)
committerTobias Ulmer <tu@emlix.com>
Wed, 16 Nov 2016 13:58:55 +0000 (14:58 +0100)
Reported by Thomas Brinker

Signed-off-by: Tobias Ulmer <tu@emlix.com>
local/e2tool.lua

index 764de1c838c2fcef72a829e5263d51f89a834089..b083e807f4fe507b3e1ef3bebc0e89e0d32c60fa 100644 (file)
@@ -1650,14 +1650,11 @@ local function check_licences(info)
     return true, nil
 end
 
----   e2tool.check_project_info(INFO, ALL, [ACCESS, [VERBOSE]]) -> BOOLEAN.
---
---     Checks project information for consistancy
---     When ALL is false, check only those results/sources reachable from
---       the dependency list
---     When ACCESS is true, checks also server locations
---     When VERBOSE is true, sends error messages to stderr
-function e2tool.check_project_info(info, all, access, verbose)
+--- Checks project information for consistancy.
+-- @param info Info table.
+-- @return True on success, false on error.
+-- @return Error object on failure.
+function e2tool.check_project_info(info)
     local rc, re
     local e = err.new("error in project configuration")
     rc, re = check_chroot_config(info)