1
0
mirror of https://github.com/gryf/pygtktalog.git synced 2025-12-17 19:40:21 +01:00

* Docstrings refresh.

This commit is contained in:
2008-01-18 20:40:09 +00:00
parent 347b8bca4c
commit 07857c060d

View File

@@ -43,7 +43,7 @@ def volname(mntp):
return None
def volmount(mntp):
"""mount device, return True/False"""
"""mount device, return 'ok' or error message"""
_in,_out,_err = os.popen3("mount %s" % mntp)
inf = _err.readlines()
if len(inf) > 0:
@@ -54,7 +54,7 @@ def volmount(mntp):
return 'ok'
def volumount(mntp):
"""mount device, return True/False"""
"""mount device, return 'ok' or error message"""
_in,_out,_err = os.popen3("umount %s" % mntp)
inf = _err.readlines()
if len(inf) > 0:
@@ -90,7 +90,7 @@ def mountpoint_to_dev(mntp):
return None
def eject_cd(eject_app, cd):
"""mount device, return True/False"""
"""mount device, return 'ok' or error message"""
if len(eject_app) > 0:
_in,_out,_err = os.popen3("%s %s" % (eject_app, cd))
inf = _err.readlines()