dummytools module¶
-
class
dummytools.
Dummy
(*args, **kwargs)[source]¶ Bases:
mount.MountControl
This is a template for mounting services. For simple mount services all you need to do is: - add your settings in qt/settingsdialog.py - add settings in common/config.p - modify a copy of this file
Please use self.currentMountpoint as your local mountpoint. This class inherit from mount.MountControl. All methodes from MountControl can be used exactly like they were in this class. Methodes from MountControl also can be overriden in here if you need something different.
-
postMountCheck
()[source]¶ check if mount was successful raise MountException(_(‘Error discription’)) if not
-
postUmountCheck
()[source]¶ check if umount successful raise MountException(_(‘Error discription’)) if not
-