Record errors looking up keys
[zeroinstall/zeroinstall-afb.git] / 0launch
blob50eb0f049375f428552c41e3cead87a8871e179c
1 #!/usr/bin/env python
3 import locale
4 from logging import warn
5 try:
6 locale.setlocale(locale.LC_ALL, '')
7 except locale.Error:
8 warn('Error setting locale (eg. Invalid locale)')
10 from zeroinstall.injector import cli
11 import sys
12 cli.main(sys.argv[1:])