From: epg <> Date: Sun, 15 Apr 2007 18:54:07 +0000 (+0000) Subject: s/'''/"""/ X-Git-Url: https://diplodocus.org/git/flac-archive/commitdiff_plain/f01bc9f6b79b2123a158f1462ec00fc63dedc889 s/'''/"""/ --- diff --git a/fa-flacd b/fa-flacd index d00496f..7e455bf 100755 --- a/fa-flacd +++ b/fa-flacd @@ -1,6 +1,6 @@ #! /usr/bin/env python2.4 -''' +""" =head1 NAME B - archive CDs to single FLAC files @@ -74,7 +74,7 @@ it under the same terms as Perl itself. =cut -''' #' # python-mode is sucks +""" import os import re @@ -119,8 +119,8 @@ def run_flac(infile, cue, outfile, tags): c(os.rename, outfile + '.flac-tmp', outfile + '.flac') def flac(dir, artist, album, discnum, tracknum, track_tags, disc_artist, tags): - '''Encode a single wav file to a single flac file, whether the wav and - flac files represent individual tracks or whole discs.''' + """Encode a single wav file to a single flac file, whether the wav and + flac files represent individual tracks or whole discs.""" (artist, album) = [x.replace('/', '_') for x in (artist, album)] @@ -207,8 +207,8 @@ def flac(dir, artist, album, discnum, tracknum, track_tags, disc_artist, tags): # The master process def get_tags(fn): - '''Return the ARTIST, ALBUM, and DATE followed by a list of all the - lines in the file FN.''' + """Return the ARTIST, ALBUM, and DATE followed by a list of all the + lines in the file FN.""" artist = album = discnum = None tags = [] diff --git a/fa-rip b/fa-rip index 92b709d..4b7f76d 100755 --- a/fa-rip +++ b/fa-rip @@ -1,6 +1,6 @@ #! /usr/bin/env python2.4 -''' +""" =head1 NAME B - rip a CD for B @@ -65,7 +65,7 @@ it under the same terms as Perl itself. =cut -''' #' # python-mode is sucks +""" import os, re, sys, tempfile, traceback from optparse import OptionParser