X-Git-Url: https://git.llucax.com/software/pymin.git/blobdiff_plain/bdc7c3f6286c768cf683b78dfb5576c733121a8b..75e67012c298ea163108ca79fc9deed1227fa8ff:/pymin/procman.py?ds=inline diff --git a/pymin/procman.py b/pymin/procman.py index 0330e23..12c269c 100644 --- a/pymin/procman.py +++ b/pymin/procman.py @@ -131,7 +131,7 @@ class ProcessManager: else: # is a pid if name in self.pidmap: return self.pidmap[name] - return KeyError, name + raise KeyError, name def has(self, name): if isinstance(name, basestring): # is a name