dom0/qvm-tools: add missing imports
This commit is contained in:
		
							parent
							
								
									38e8b85b06
								
							
						
					
					
						commit
						b321d16336
					
				| @ -24,6 +24,7 @@ from qubes.qubes import QubesVmCollection | |||||||
| from qubes.qubes import QubesException | from qubes.qubes import QubesException | ||||||
| from optparse import OptionParser; | from optparse import OptionParser; | ||||||
| import sys | import sys | ||||||
|  | import os | ||||||
| 
 | 
 | ||||||
| def main(): | def main(): | ||||||
|     usage = "usage: %prog [options] <appvm-name> <vm-template-name>\n\n"\ |     usage = "usage: %prog [options] <appvm-name> <vm-template-name>\n\n"\ | ||||||
|  | |||||||
| @ -24,6 +24,7 @@ from qubes.qubes import QubesVmCollection | |||||||
| from qubes.qubes import QubesException | from qubes.qubes import QubesException | ||||||
| from optparse import OptionParser; | from optparse import OptionParser; | ||||||
| import sys | import sys | ||||||
|  | import os | ||||||
| 
 | 
 | ||||||
| def main(): | def main(): | ||||||
|     usage = "usage: %prog [options] <vm-template-name>\n"\ |     usage = "usage: %prog [options] <vm-template-name>\n"\ | ||||||
|  | |||||||
| @ -25,6 +25,7 @@ from qubes.qubes import QubesAppVm, QubesTemplateVm | |||||||
| from qubes.qubes import QubesException | from qubes.qubes import QubesException | ||||||
| from optparse import OptionParser; | from optparse import OptionParser; | ||||||
| import sys | import sys | ||||||
|  | import os | ||||||
| 
 | 
 | ||||||
| def main(): | def main(): | ||||||
|     usage = "usage: %prog [options] <src-name> <new-name>\n"\ |     usage = "usage: %prog [options] <src-name> <new-name>\n"\ | ||||||
|  | |||||||
| @ -25,6 +25,7 @@ from optparse import OptionParser; | |||||||
| import subprocess | import subprocess | ||||||
| import sys | import sys | ||||||
| import re | import re | ||||||
|  | import os | ||||||
| 
 | 
 | ||||||
| services = list() | services = list() | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Marek Marczykowski
						Marek Marczykowski