Closed GoogleCodeExporter closed 9 years ago
After a little try, it seems work for me with changes below...
$ diff backup_backend.py backup_backend.py.org
167,174c167,168
< #stdin, stdout = os.popen4( 'df %s' % parent_backup_dir )
< #return int(stdout.readlines()[1].split()[3]) # in KB
< try:
< stdin, stdout = os.popen4( 'df %s' % parent_backup_dir )
< return int(stdout.readlines()[1].split()[3]) # in KB
< except:
< stdin, stdout = os.popen4( 'df %s' % parent_backup_dir )
< return int(stdout.readlines()[2].split()[2]) # in KB
---
> stdin, stdout = os.popen4( 'df %s' % parent_backup_dir )
> return int(stdout.readlines()[1].split()[3]) # in KB
Original comment by mkiuc...@gmail.com
on 5 Apr 2008 at 9:56
Hi
I have implemented the suggested fix in issue 56 which sais that using df -P
will
cause it not to wrap the lines after the device name.
http://code.google.com/p/warpback
Original comment by jarrod.c...@gmail.com
on 1 Dec 2008 at 2:07
Original comment by pub...@kered.org
on 5 Dec 2008 at 7:02
Original issue reported on code.google.com by
mkiuc...@gmail.com
on 4 Apr 2008 at 11:22