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:
parent
18138d9f09
commit
14794a3fa4
@ -1,5 +1,4 @@
|
|||||||
#!/usr/bin/env python
|
#
|
||||||
|
|
||||||
# Copyright (c) 2013-2015 Mirantis, Inc.
|
# Copyright (c) 2013-2015 Mirantis, Inc.
|
||||||
#
|
#
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
||||||
@ -121,7 +120,3 @@ def main():
|
|||||||
parser('__main(true)').evaluate(data, context)
|
parser('__main(true)').evaluate(data, context)
|
||||||
else:
|
else:
|
||||||
parser('__main(false)').evaluate(data, context)
|
parser('__main(false)').evaluate(data, context)
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
|
||||||
main()
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user