mirror of
https://github.com/valitydev/osquery-1.git
synced 2024-11-07 18:08:53 +00:00
add parenthesis for python3 compatibility
This commit is contained in:
parent
eef4d31a93
commit
594cf346a9
@ -327,7 +327,7 @@ def main(argc, argv):
|
|||||||
output = argv[2]
|
output = argv[2]
|
||||||
with open(filename, "rU") as file_handle:
|
with open(filename, "rU") as file_handle:
|
||||||
tree = ast.parse(file_handle.read())
|
tree = ast.parse(file_handle.read())
|
||||||
exec compile(tree, "<string>", "exec")
|
exec(compile(tree, "<string>", "exec"))
|
||||||
table.generate(output)
|
table.generate(output)
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
Loading…
Reference in New Issue
Block a user