projects
/
invirt/packages/invirt-remote.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Make invirt-lvm lvcreate-all use sqlalchemy correctly.
[invirt/packages/invirt-remote.git]
/
server
/
usr
/
sbin
/
invirt-remote-vminvalid
1
#!/usr/bin/python
2
"""
3
Returns an error when someone enters an invalid vm name.
4
"""
5
import sys
6
7
def main(args):
8
print >>sys.stderr, 'Error: no such machine: ' + args[0]
9
return 1
10
11
if __name__ == '__main__':
12
sys.exit(main(sys.argv[1:]))
13
14
# vim:et:sw=4:ts=4