summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-04-29 15:33:00 +0100
committerCarl Hetherington <cth@carlh.net>2013-04-29 15:33:00 +0100
commite1bf459ec4f9cf8634986a60de3408500c971275 (patch)
treebc04a3f12c57c39e2af74cb85e8f40d9857b6fd0
parent90ca8ed90c7e006a59f51c1a3288ba9df12a8297 (diff)
Keep name in Target.
-rwxr-xr-xcdist1
1 files changed, 1 insertions, 0 deletions
diff --git a/cdist b/cdist
index 92b3837..a7557d5 100755
--- a/cdist
+++ b/cdist
@@ -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]