From bc8ba2d89e7c71e95c1ee8e8e2da26a993e01997 Mon Sep 17 00:00:00 2001 From: Stefan Pluecken Date: Sat, 25 Feb 2006 21:29:34 +0000 Subject: - new automatic scan - scans everything the NIM can handle - ServiceScan is now able to do a multipass scan - added the manual scan to the startwizard - wizards have a new "nextstep" attribute for the -tag now --- lib/python/Components/NimManager.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'lib/python/Components/NimManager.py') diff --git a/lib/python/Components/NimManager.py b/lib/python/Components/NimManager.py index dfc5aec6..1ad4c229 100644 --- a/lib/python/Components/NimManager.py +++ b/lib/python/Components/NimManager.py @@ -488,10 +488,16 @@ class NimManager: def getNimType(self, slotID): if slotID >= self.nimCount: - return "empty/unknown" + return self.nimType["empty/unknown"] else: return self.nimType[self.nimTypes[slotID]] + def getNimTypeName(self, slotID): + if slotID >= self.nimCount: + return "empty/unknown" + else: + return self.nimTypes[slotID] + def getNimName(self, slotID): return self.nimNames[slotID] -- cgit v1.2.3