[mythtv-commits] Ticket #2715: ValueError in mythburn.py due to improper parsing of "mount" command output
MythTV
mythtv at cvs.mythtv.org
Tue Dec 5 13:46:56 UTC 2006
#2715: ValueError in mythburn.py due to improper parsing of "mount" command output
------------------------------------+---------------------------------------
Reporter: eliasen at mindspring.com | Owner: paulh
Type: defect | Status: closed
Priority: major | Milestone: unknown
Component: mytharchive | Version: 0.20
Severity: high | Resolution: fixed
------------------------------------+---------------------------------------
Changes (by paulh):
* status: new => closed
* resolution: => fixed
Comment:
(In [12202]) Change how mythburn.py detects whether a file is on a remote
filesystem.
The current method of parsing the output of the mount command is a little
fragile and falls over when a mount has a space in the name. It would be
better to use statfs to determine if a file is on a remote fs except that
python doesn't seem to have an equivalent of the 'c' statfs function.
This commit just adds a new function to mytharchivehelper that the script
can
call to do the check.
Fixes #2715.
--
Ticket URL: <http://cvs.mythtv.org/trac/ticket/2715#comment:3>
MythTV <http://www.mythtv.org/>
MythTV
More information about the mythtv-commits
mailing list