From ae0726798f35452e1d65baa39d3f2274801eaa68 Mon Sep 17 00:00:00 2001 From: fuzzyray Date: Thu, 11 Jan 2007 05:05:03 +0000 Subject: [PATCH] Fix get_dependants() to raise an Exception instead of a string (Bug 137783) svn path=/; revision=337 --- trunk/src/gentoolkit/package.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trunk/src/gentoolkit/package.py b/trunk/src/gentoolkit/package.py index 87fef28..ffed488 100644 --- a/trunk/src/gentoolkit/package.py +++ b/trunk/src/gentoolkit/package.py @@ -67,7 +67,7 @@ class Package: def get_dependants(self): """Retrieves a list of CPVs for all packages depending on this one""" - raise "Not implemented yet!" + raise NotImplementedError("Not implemented yet!") def get_runtime_deps(self): """Returns a linearised list of first-level run time dependencies for this package, on -- 2.26.2