Commits

Thomas Gläßle committed ae92a77

Add module docstrings and __all__

  • Participants
  • Parent commits e30fe86

Comments (0)

Files changed (7)

File udiskie/automount.py

+"""
+Udiskie automounter daemon.
+"""
+__all__ = ['AutoMounter']
+
 import logging
 
 class AutoMounter:

File udiskie/device.py

+"""
+Udisks wrapper utilities.
+
+These act as a convenience abstraction layer on the udisks dbus service.
+
+"""
+__all__ = ['Device', 'get_all', 'get_all_handleable', 'get_device']
+
 import logging
 import os
 import dbus

File udiskie/match.py

+"""
+Filters for udiskie mount tools.
+"""
+__all__ = ['InvalidFilter', 'OptionFilter', 'Filters', 'FilterMatcher']
+
 from ConfigParser import SafeConfigParser
 import logging
 import re

File udiskie/mount.py

+"""
+Udiskie mount utilities.
+"""
+__all__ = ['Mounter', 'option_parser', 'cli']
+
 import warnings
 warnings.filterwarnings("ignore", ".*could not open display.*", Warning)
 warnings.filterwarnings("ignore", ".*g_object_unref.*", Warning)

File udiskie/notify.py

+"""
+Udiskie notification daemon.
+"""
+__all__ = ['Notify']
+
 import pynotify
 import gio
 

File udiskie/prompt.py

+"""
+Udiskie user prompt utility.
+"""
+__all__ = ['password']
+
 import importlib
 import subprocess
 from distutils.spawn import find_executable

File udiskie/umount.py

+"""
+Udiskie unmount utilities.
+"""
+__all__ = [
+    'unmount_device', 'lock_device', 'remove_device', 'lock_slave',
+    'unmount', 'unmount_all', 'option_parser', 'cli']
+
 import warnings
 warnings.filterwarnings("ignore", ".*could not open display.*", Warning)
 warnings.filterwarnings("ignore", ".*g_object_unref.*", Warning)