repo.or.cz
/
zeroinstall
/
zeroinstall-limyreth.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Cope with InvalidInterface exceptions in "0desktop --manage"
[zeroinstall/zeroinstall-limyreth.git]
/
0launch
blob
8db3ab03c744813c6ff59ebb282ef173e85adebc
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
## PATH ##
11
12
from
zeroinstall
.
injector
import
cli
13
import
sys
14
cli
.
main
(
sys
.
argv
[
1
:])