It's not that important in this module since your namespace is pretty clean.  But if you wanted to make sysfs_dir into a class-attribute to keep things origanized, that would be another good way.  Then you can reference it as <code>self.__class__.sysfs_dir</code> or from the outside as <code>NodedevXMLBase.sysfs_dir</code>.  Either way is fine.