Last change
on this file since 2469 was
2468,
checked in by pweaver, 15 years ago
|
Bug #349789:script to print error of not vm name
|
-
Property svn:executable set to
*
|
File size:
263 bytes
|
Rev | Line | |
---|
[2468] | 1 | #!/usr/bin/python |
---|
| 2 | """ |
---|
| 3 | Returns an error when someone enters an invalid vm name. |
---|
| 4 | """ |
---|
| 5 | import sys |
---|
| 6 | |
---|
| 7 | |
---|
| 8 | |
---|
| 9 | |
---|
| 10 | def main(args): |
---|
| 11 | print 'Machine Name' + args[0] + 'does not exist' |
---|
| 12 | return 0 |
---|
| 13 | |
---|
| 14 | |
---|
| 15 | if __name__ == '__main__': |
---|
| 16 | sys.exit(main(sys.argv[1:])) |
---|
| 17 | |
---|
| 18 | # vim:et:sw=4:ts=4 |
---|
Note: See
TracBrowser
for help on using the repository browser.