Robocop wrote:
> for line in fileinput.input(['/proc/mounts']):
This will include the newline at the end of every line.
> if line == '[EMAIL PROTECTED]:/usr/home/sites/www.website.com/
> web/PICTURES/django /www/htdocs/hatProductAdd/media/images/PICTURES/
> django fuse rw,nosuid,nodev,user
On Nov 18, 9:26 am, Robocop <[EMAIL PROTECTED]> wrote:
> I'm running some stupid little script that's supposed to alert me if
> some fuse link exists. All i do is read in /proc/mounts and look to
> match the fuse mount command in question, i'm doing this:
>
> output = open("/www/htdocs/hatProductA
I'm running some stupid little script that's supposed to alert me if
some fuse link exists. All i do is read in /proc/mounts and look to
match the fuse mount command in question, i'm doing this:
output = open("/www/htdocs/hatProductAdd/add/output.txt", "a")
for line in fileinput.input(['/proc/m