]> arthur.barton.de Git - bup.git/blob - cmd/ls-cmd.py
Use absolute_import from the __future__ everywhere
[bup.git] / cmd / ls-cmd.py
1 #!/bin/sh
2 """": # -*-python-*-
3 bup_python="$(dirname "$0")/bup-python" || exit $?
4 exec "$bup_python" "$0" ${1+"$@"}
5 """
6 # end of bup preamble
7
8 from __future__ import absolute_import
9 import sys
10
11 from bup import git, ls
12
13
14 git.check_repo_or_die()
15
16 # Check out lib/bup/ls.py for the opt spec
17 rc = ls.via_cmdline(sys.argv[1:])
18 sys.exit(rc)