diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-05-17 16:29:42 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-05-17 16:29:42 +0100 |
| commit | 2fc6e3023221cdf3b2b9a3662597f908491e2239 (patch) | |
| tree | 4718d7cb3b3b846eb4b18b5b7ee672eedca8fb36 | |
| parent | 18677034ca965abc3efc9bfca5d6b06104e2f7b1 (diff) | |
Required default arg.
| -rwxr-xr-x | cdist | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -205,7 +205,7 @@ class ChrootEnvironment(Environment): # class HostEnvironment(Environment): - def __init__(self, directory): + def __init__(self, directory=None): super(HostEnvironment, self).__init__() if directory is None: self.directory = tempfile.mkdtemp() |
