X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=daklib%2Futils.py;h=527f76b0b585cb1b42754560de9d2f1923ba2185;hb=0254713c47bbccf3bf4b9337f3415224573b26cb;hp=83b507a89062504b43840c51d257ea908757d82a;hpb=567c91b57f1e6af8da3e9e0ab5eeffa14796a256;p=dak.git diff --git a/daklib/utils.py b/daklib/utils.py index 83b507a8..527f76b0 100644 --- a/daklib/utils.py +++ b/daklib/utils.py @@ -608,7 +608,7 @@ argument: orig_filename = filename if filename.endswith(".dak"): - filename = filename[:-6]+".changes" + filename = filename[:-4]+".changes" if not filename.endswith(".changes"): error = "invalid file type; not a changes file"