diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-01-09 09:37:55 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-01-09 09:37:55 +0000 |
| commit | dd6a3d2a43bbc3e757321a05319f409afa51b93d (patch) | |
| tree | c12155fc777f5490f819e2f96bddb55d0d58c08d | |
| parent | b7862ed487bd807a2ce1356cc4bde9558bc5ebbc (diff) | |
Typo.
| -rwxr-xr-x | cdist | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -50,7 +50,7 @@ class Trees: def get(self, name, specifier, target): for t in self.trees: if t.name == name and t.specifier == specifier and t.target == target: - return p + return t elif t.name == name and t.specifier != specifier: raise Error('conflicting versions of %s requested (%s and %s)' % (name, specifier, t.specifier)) |
