Overview
Comment: | Added shutdown of socket before exit |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
a816083630430e15b8fa09950923640f |
User & Date: | vitus on 2015-12-17 14:27:59 |
Other Links: | manifest | tags |
Context
2015-12-17
| ||
14:31 | Incremented version number to 0.2 check-in: b07302139d user: vitus tags: trunk | |
14:27 | Added shutdown of socket before exit check-in: a816083630 user: vitus tags: trunk | |
12:47 | Implented snapshots check-in: d9a66bb196 user: vitus tags: trunk | |
Changes
Modified vws from [6f0576d6d4] to [aaa1316acd].
︙ | |||
183 184 185 186 187 188 189 | 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 | - + - | os.system("lsusb") def cmd_usb_remove(options): address=find_usb(options,get_vm_devices(options.sock)) answer=send_command(options.sock,"usb_del %s" % address) print answer def cmd_usb_attached(options): |
︙ | |||
604 605 606 607 608 609 610 611 612 | 603 604 605 606 607 608 609 610 611 612 | + | try: func=globals()[funcname] except KeyError: print >>sys.stderr,"Operation %s is not implemented"%funcname sys.exit(3) func(parsed_args) if hasattr(parsed_args,'sock') and parsed_args.sock is not None: parsed_args.sock.shutdown(socket.SHUT_RDWR) parsed_args.sock.close() |