Typo fix in yield stuff.
authorCarl Hetherington <cth@carlh.net>
Thu, 26 Jul 2018 11:48:21 +0000 (12:48 +0100)
committerCarl Hetherington <cth@carlh.net>
Thu, 26 Jul 2018 11:48:21 +0000 (12:48 +0100)
cdist

diff --git a/cdist b/cdist
index 0f99538b11fbc0dfb45503487d67f7d333500034..4906b09f0101aea2034c421c1fc4a869bcd59e81 100755 (executable)
--- a/cdist
+++ b/cdist
@@ -1,6 +1,6 @@
 #!/usr/bin/python
 
-#    Copyright (C) 2012-2017 Carl Hetherington <cth@carlh.net>
+#    Copyright (C) 2012-2018 Carl Hetherington <cth@carlh.net>
 #
 #    This program is free software; you can redistribute it and/or modify
 #    it under the terms of the GNU General Public License as published by
@@ -860,7 +860,7 @@ class Tree(object):
 
             for i in dep.dependencies(dep_options):
                 yield i
-            yield (dep, options)
+            yield (dep, dep_options)
 
     def checkout_dependencies(self, options={}):
         for i in self.dependencies(options):