]> arthur.barton.de Git - bup.git/commit
web-cmd.py: add a tornado import guard like the one for fuse in fuse-cmd.py.
authorRobert S. Edmonds <edmonds@debian.org>
Sat, 10 Aug 2013 20:01:57 +0000 (16:01 -0400)
committerRob Browning <rlb@defaultvalue.org>
Sat, 17 Aug 2013 18:57:28 +0000 (13:57 -0500)
commit9526d19e3dedabcc2d5f62bcddcd07d09bedf796
tree72926a6817e3a3d0b9f3b5ab845b0416f8e2be29
parentcdb88042c4671a91cac2f20cb45ac3ef129ab9c9
web-cmd.py: add a tornado import guard like the one for fuse in fuse-cmd.py.

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>
[rlb@defaultvalue.org: edited commit and error message]
Signed-off-by: Rob Browning <rlb@defaultvalue.org>
cmd/web-cmd.py