diff options
Diffstat (limited to 'src/debputy/version.py')
-rw-r--r-- | src/debputy/version.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/debputy/version.py b/src/debputy/version.py index de56318..eb69c8f 100644 --- a/src/debputy/version.py +++ b/src/debputy/version.py @@ -55,6 +55,9 @@ if __version__ in ("N/A",): except (subprocess.CalledProcessError, FileNotFoundError): v = "N/A" + if v.startswith("archive/"): + v = v[8:] + if v.startswith("debian/"): v = v[7:] return v |