Convert doxygen to rst for Prepare, Preview, RemovableOutputDevice

This commit is contained in:
Nino van Hooff 2020-05-08 17:37:49 +02:00
parent a4fe3d7685
commit a09cd0e63e
6 changed files with 74 additions and 57 deletions

View file

@ -10,12 +10,14 @@ import glob
import os
import subprocess
## Support for removable devices on Linux.
#
# TODO: This code uses the most basic interfaces for handling this.
# We should instead use UDisks2 to handle mount/unmount and hotplugging events.
#
class LinuxRemovableDrivePlugin(RemovableDrivePlugin.RemovableDrivePlugin):
"""Support for removable devices on Linux.
TODO: This code uses the most basic interfaces for handling this.
We should instead use UDisks2 to handle mount/unmount and hotplugging events.
"""
def checkRemovableDrives(self):
drives = {}
for volume in glob.glob("/media/*"):