26c26 < def __init__(self, path = "", fstype = "ext4", fssize = None, network = "none", xserver = "none", dbus = "none", dbusproxy = [], pulseaudio = False, devices = [], ctype = "cow", root = "/", bind = [], restrict = [], cow = []): --- > def __init__(self, fstype = "ext4", fssize = None, network = "none", xserver = "none", dbus = "none", dbusproxy = [], pulseaudio = False, devices = [], ctype = "cow", root = "/", bind = [], restrict = [], cow = []): 104d103 < self.path = path 142,149c141,143 < if self.path == "": < if not os.path.exists(os.path.expanduser("~/.arkose/")): < os.mkdir(os.path.expanduser("~/.arkose/")) < self.path = tempfile.mkdtemp(dir=os.path.expanduser("~/.arkose/")) < else: < if not os.path.exists(os.path.abspath(self.path)): < os.mkdir(os.path.abspath(self.path)) < self.path = tempfile.mkdtemp(dir=os.path.abspath(self.path)) --- > if not os.path.exists(os.path.expanduser("~/.arkose/")): > os.mkdir(os.path.expanduser("~/.arkose/")) > self.path = tempfile.mkdtemp(dir=os.path.expanduser("~/.arkose/"))
26c26 exists( os.path. expanduser( "~/.arkose/ ")): os.path. expanduser( "~/.arkose/ ")) mkdtemp( dir=os. path.expanduser ("~/.arkose/ ")) exists( os.path. abspath( self.path) ): os.path. abspath( self.path) ) mkdtemp( dir=os. path.abspath( self.path) ) exists( os.path. expanduser( "~/.arkose/ ")): os.path. expanduser( "~/.arkose/ ")) mkdtemp( dir=os. path.expanduser ("~/.arkose/ "))
< def __init__(self, path = "", fstype = "ext4", fssize = None, network = "none", xserver = "none", dbus = "none", dbusproxy = [], pulseaudio = False, devices = [], ctype = "cow", root = "/", bind = [], restrict = [], cow = []):
---
> def __init__(self, fstype = "ext4", fssize = None, network = "none", xserver = "none", dbus = "none", dbusproxy = [], pulseaudio = False, devices = [], ctype = "cow", root = "/", bind = [], restrict = [], cow = []):
104d103
< self.path = path
142,149c141,143
< if self.path == "":
< if not os.path.
< os.mkdir(
< self.path = tempfile.
< else:
< if not os.path.
< os.mkdir(
< self.path = tempfile.
---
> if not os.path.
> os.mkdir(
> self.path = tempfile.