repo.or.cz
/
zeroinstall
/
zeroinstall-afb.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Record errors looking up keys
[zeroinstall/zeroinstall-afb.git]
/
0launch
blob
50eb0f049375f428552c41e3cead87a8871e179c
1
#!/usr/bin/env python
2
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)'
)
9
10
from
zeroinstall
.
injector
import
cli
11
import
sys
12
cli
.
main
(
sys
.
argv
[
1
:])