changeset 681:bc1f4762027b

STUB: python/unroll_deps.py
author Jeff Hammel <k0scist@gmail.com>
date Tue, 13 May 2014 13:00:18 -0700
parents ae7e75a8cdb0
children 3fe1024377ca
files python/unroll_deps.py
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/python/unroll_deps.py	Tue May 13 12:58:48 2014 -0700
+++ b/python/unroll_deps.py	Tue May 13 13:00:18 2014 -0700
@@ -56,6 +56,8 @@
     return order
 
 if __name__ == '__main__':
+
+    # testing set of dependencies
     deps = {'packageA': set(['packageB', 'packageC', 'packageF']),
             'packageB': set(['packageC', 'packageD', 'packageE', 'packageG']),
             'packageC': set(['packageE']),
@@ -63,7 +65,7 @@
             'packageF': set(['packageG']),
             'packageX': set(['packageA', 'packageG'])}
     unrolled = unroll_dependencies(deps)
-    print unrolled
+    print ('{}'.format(unrolled))
 
     unrolled = unroll_dependencies2(deps)
     print unrolled