repo.or.cz
/
git-cola.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
git-cola v4.3.1
[git-cola.git]
/
cola
/
__main__.py
blob
0c337d488137198a7ad938a19d76135f6300b5ed
1
"""Run cola as a Python module.
2
3
Usage: python -m cola
4
"""
5
from
__future__
import
absolute_import
,
division
,
print_function
,
unicode_literals
6
7
from
cola
import
main
8
9
10
def
run
():
11
"""Start the command-line interface."""
12
main
.
main
()
13
14
15
if
__name__
==
'__main__'
:
16
run
()