]> git.michaelhowe.org Git - packages/b/bup.git/commit
cmd/web: add an import guard like the one in cmd/fuse
authorRobert S. Edmonds <edmonds@debian.org>
Sat, 10 Aug 2013 19:59:37 +0000 (15:59 -0400)
committerRobert S. Edmonds <edmonds@debian.org>
Sat, 10 Aug 2013 19:59:37 +0000 (15:59 -0400)
commit2bc20644d1a193120323388798668c932ae02366
tree94811d62cd0edd37dc48723bbcdcd8ed666160be
parent1913c66af89c9e6ac2aa7e000c25f0b9b2c50c2b
cmd/web: add an import guard like the one in cmd/fuse

In Debian, we replace the embedded copy of tornado with a Recommends on
the python-tornado package. Print a nice error message instead of a
backtrace if the user doesn't have it installed.

Signed-off-by: Robert S. Edmonds <edmonds@debian.org>
cmd/web-cmd.py