[Pkg-puppet-devel] [facter] 250/352: (maint) Explicitly require tsort

Stig Sandbeck Mathisen ssm at debian.org
Sun Apr 6 22:21:50 UTC 2014


This is an automated email from the git hooks/post-receive script.

ssm pushed a commit to branch master
in repository facter.

commit 35aca22d76a4c4f36031261f978584739311cecb
Author: Adrien Thebo <git at somethingsinistral.net>
Date:   Wed Feb 12 09:45:26 2014 -0800

    (maint) Explicitly require tsort
    
    The DirectedGraph class was trying to use the TSort library but that
    library was not explicitly required, which is surprising that this ever
    worked. This commit adds the relevant require to sort this out.
---
 lib/facter/core/directed_graph.rb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/facter/core/directed_graph.rb b/lib/facter/core/directed_graph.rb
index bbdd5db..6edcaba 100644
--- a/lib/facter/core/directed_graph.rb
+++ b/lib/facter/core/directed_graph.rb
@@ -1,4 +1,5 @@
 require 'set'
+require 'tsort'
 
 module Facter
   module Core

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-puppet/facter.git



More information about the Pkg-puppet-devel mailing list