Make vm.run_with_args working on python2
This part of the qubesadmin module still needs to be compatible with python2.
This commit is contained in:
parent
fb910a71cf
commit
05f0d4ca0f
@ -34,6 +34,10 @@ import qubesadmin.devices
|
||||
import qubesadmin.firewall
|
||||
import qubesadmin.tags
|
||||
|
||||
if not hasattr(shlex, 'quote'):
|
||||
# python2 compat
|
||||
import pipes
|
||||
shlex.quote = pipes.quote
|
||||
|
||||
class QubesVM(qubesadmin.base.PropertyHolder):
|
||||
'''Qubes domain.'''
|
||||
|
Loading…
Reference in New Issue
Block a user