setup: try parsing /etc/lsb-release first, then invoking lsb_release, because the...
authorZooko O'Whielacronx <zooko@zooko.com>
Tue, 23 Sep 2008 17:14:31 +0000 (10:14 -0700)
committerZooko O'Whielacronx <zooko@zooko.com>
Tue, 23 Sep 2008 17:14:31 +0000 (10:14 -0700)
commit2ef977d85a52366b0a28b097bce2690a1f50e3e3
treed6b37fe7dd377e9833430d079d2c9a5a5c2c781b
parent37dd91238b0aac7e2069a765bc0b37a815280c59
setup: try parsing /etc/lsb-release first, then invoking lsb_release, because the latter takes half-a-second on my workstation, which is too long
Also because in some cases the former will work and the latter won't.
This patch also tightens the regexes so it won't match random junk.
src/allmydata/__init__.py