X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Fgenerate_index_diffs.py;h=e3699a461515f4f1ba12b111d72833e400493c7b;hb=c72ca020c81a70f4813a12afbdc01f57be9d32bf;hp=6968c33605585e3b210aed874f22ae0fe84a8467;hpb=603631668f779ca24d08b554f7053d46ba562348;p=dak.git diff --git a/dak/generate_index_diffs.py b/dak/generate_index_diffs.py index 6968c336..e3699a46 100755 --- a/dak/generate_index_diffs.py +++ b/dak/generate_index_diffs.py @@ -369,9 +369,10 @@ def main(): if not re_includeinpdiff.match(entry): #print "EXCLUDING %s" % (entry) continue - processfile= os.path.join(workpath, entry) + (fname, fext) = os.path.splitext(entry) + processfile=os.path.join(workpath, fname) #print "Working: %s" % (processfile) - storename="%s/%s_%s_%s" % (Options["TempDir"], suite, component, entry) + storename="%s/%s_%s_%s" % (Options["TempDir"], suite, component, fname) #print "Storefile: %s" % (storename) genchanges(Options, processfile + ".diff", storename, processfile, maxdiffs) os.chdir(cwd)