From: fuzzyray Date: Thu, 11 Jan 2007 05:05:03 +0000 (-0000) Subject: Fix get_dependants() to raise an Exception instead of a string (Bug 137783) X-Git-Tag: gentoolkit-0.2.4.3~176 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ae0726798f35452e1d65baa39d3f2274801eaa68;p=gentoolkit.git Fix get_dependants() to raise an Exception instead of a string (Bug 137783) svn path=/; revision=337 --- 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