Fix pep8 errors
This commit is contained in:
parent
04a19743ed
commit
fa79e57f49
@ -1468,8 +1468,8 @@ class Ravi(Lua):
|
|||||||
"""#!/bin/sh
|
"""#!/bin/sh
|
||||||
export LD_LIBRARY_PATH="{lib_dir}:$LD_LIBRARY_PATH"
|
export LD_LIBRARY_PATH="{lib_dir}:$LD_LIBRARY_PATH"
|
||||||
exec "{exe}" "$@\"""".format(
|
exec "{exe}" "$@\"""".format(
|
||||||
lib_dir=os.path.join(opts.location, "lib"),
|
lib_dir=os.path.join(opts.location, "lib"),
|
||||||
exe=os.path.join(opts.location, "bin", exe("ravi")))
|
exe=os.path.join(opts.location, "bin", exe("ravi")))
|
||||||
)
|
)
|
||||||
# chmod +x
|
# chmod +x
|
||||||
st = os.stat(lua_file)
|
st = os.stat(lua_file)
|
||||||
@ -1565,9 +1565,8 @@ class LuaRocks(Program):
|
|||||||
vs_short_version, vs_year, " Win64" if vs_arch == "x64" else "")
|
vs_short_version, vs_year, " Win64" if vs_arch == "x64" else "")
|
||||||
|
|
||||||
def build(self):
|
def build(self):
|
||||||
lua_identifiers = self.all_identifiers.get("lua",
|
lua_identifiers = self.all_identifiers.get("lua", self.all_identifiers.get(
|
||||||
self.all_identifiers.get("LuaJIT",
|
"LuaJIT", self.all_identifiers.get("ravi")))
|
||||||
self.all_identifiers.get("ravi")))
|
|
||||||
|
|
||||||
if lua_identifiers is None:
|
if lua_identifiers is None:
|
||||||
sys.exit("Error: can't install LuaRocks: Lua is not present in {}".format(opts.location))
|
sys.exit("Error: can't install LuaRocks: Lua is not present in {}".format(opts.location))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user