diff options
author | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2009-07-07 02:26:13 +0300 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2009-07-07 02:34:35 +0300 |
commit | 0eb321bf2c1cc0e048faff26a01f86cdd3ec254f (patch) | |
tree | 71cb9bd9ed121156d3382066c0722c73189afe04 /TOOLS/vobshift.py | |
parent | 6d908205fbadbdf7ccdc6c5e0eb918f0b43f16e0 (diff) | |
download | mpv-0eb321bf2c1cc0e048faff26a01f86cdd3ec254f.tar.bz2 mpv-0eb321bf2c1cc0e048faff26a01f86cdd3ec254f.tar.xz |
Remove trailing whitespace from most files
Diffstat (limited to 'TOOLS/vobshift.py')
-rwxr-xr-x | TOOLS/vobshift.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/TOOLS/vobshift.py b/TOOLS/vobshift.py index 180b5c486f..c2d36b2e8d 100755 --- a/TOOLS/vobshift.py +++ b/TOOLS/vobshift.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -#usage: +#usage: # # vobshift.py in.idx out.idx -8.45 # @@ -35,7 +35,7 @@ def delta2text(d): def shift(line,seconds): triplet = tripletize(line) - + base = text2delta(triplet[1]) base = base + datetime.timedelta(seconds=seconds) base = delta2text(base) @@ -52,7 +52,7 @@ o = open(OUTFILE,'wt') for line in open(INFILE): if line.startswith('timestamp'): line = shift(line,DIFF) - + o.write(line) o.close() |