sdbus++: fix NamedElement exception handling

The exception handling in NamedElement.__getattribute__ changed
behavior in an attempt to resolve issues reported by pycodestyle.

The original code had a generic 'except:' which was warned by
pycodestyle and then was changed to 'except e:'.  This syntax
means it only handles an exception of type 'e' (this was intended
to be something like 'except Exception as e:').  Fix by replacing
'e' with the generic exception type 'Exception'.

Fixes 9f77a47af1585a17c0c4e93afe1f935eb78e827e.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I767a41a0dc619c110ff40a2bf17739c59ee7864c
diff --git a/tools/sdbusplus/namedelement.py b/tools/sdbusplus/namedelement.py
index 4c2ee2a..834e05d 100644
--- a/tools/sdbusplus/namedelement.py
+++ b/tools/sdbusplus/namedelement.py
@@ -17,7 +17,7 @@
             return NamedElement.__fixup_name(lam())
         try:
             return super(NamedElement, self).__getattribute__(name)
-        except e:
+        except Exception:
             raise AttributeError("Attribute '%s' not found in %s.NamedElement"
                                  % (name, self.__module__))