Since Debian now has many v3 source packages, bug #474163 is going to crash the autosyncer and make archive admins very unhappy.
My suggested fix is to just float() the first space-separated part. I could have instead moved the format check inside the "if not is_a_dsc" block, but splitting seems like a sane enough approach for .changes files as well.
I've tested sync-source.py (the only user of this code) with all three formats, and it works fine.
Since Debian now has many v3 source packages, bug #474163 is going to crash the autosyncer and make archive admins very unhappy.
My suggested fix is to just float() the first space-separated part. I could have instead moved the format check inside the "if not is_a_dsc" block, but splitting seems like a sane enough approach for .changes files as well.
I've tested sync-source.py (the only user of this code) with all three formats, and it works fine.