projects
/
cdist.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
90ca8ed
)
Keep name in Target.
author
Carl Hetherington
<cth@carlh.net>
Mon, 29 Apr 2013 14:33:00 +0000
(15:33 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Mon, 29 Apr 2013 14:33:00 +0000
(15:33 +0100)
cdist
patch
|
blob
|
history
diff --git
a/cdist
b/cdist
index 92b383723ca7bb40c13e99e31063fb5492264d5f..a7557d5d4bf230a2bf4ced5f6d0c1f1b0c2d8ad7 100755
(executable)
--- 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]