From 14794a3fa4c2f957f0b6f9d067a3a5433e4baf2e Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Tue, 9 Jan 2024 17:08:20 +0900 Subject: [PATCH] Drop direct execution of run.py The console script is generated during installation and we don't expect any users may attempt to run this script directly. Change-Id: I1f83d91b658d1f91d4fef162ef09c48e62c98df0 --- yaql/cli/run.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/yaql/cli/run.py b/yaql/cli/run.py index 9c3ef04..e8f1e99 100755 --- a/yaql/cli/run.py +++ b/yaql/cli/run.py @@ -1,5 +1,4 @@ -#!/usr/bin/env python - +# # Copyright (c) 2013-2015 Mirantis, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); you may @@ -121,7 +120,3 @@ def main(): parser('__main(true)').evaluate(data, context) else: parser('__main(false)').evaluate(data, context) - - -if __name__ == "__main__": - main()