diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-04-29 15:33:00 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-04-29 15:33:00 +0100 |
| commit | e1bf459ec4f9cf8634986a60de3408500c971275 (patch) | |
| tree | bc04a3f12c57c39e2af74cb85e8f40d9857b6fd0 | |
| parent | 90ca8ed90c7e006a59f51c1a3288ba9df12a8297 (diff) | |
Keep name in Target.
| -rwxr-xr-x | cdist | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -266,6 +266,7 @@ class WindowsEnvironment(HostEnvironment): class Target: def __init__(self, name): + self.name = name if name.startswith('ubuntu-') or name.startswith('debian-'): self.platform = 'linux' self.version = name.split('-')[1] |
