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
This commit is contained in:
Takashi Kajinami 2024-01-09 17:08:20 +09:00
parent 18138d9f09
commit 14794a3fa4

View File

@ -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()