repo.or.cz
/
zeroinstall.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fixed some minor error reporting bugs
[zeroinstall.git]
/
0install
blob
ea03ce9d5f7aa0eaddedfcd1d145f404959124b1
1
#!/usr/bin/env python
2
import
sys
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
.
cmd
import
main
13
import
sys
14
main
(
sys
.
argv
[
1
:])