mirror of
https://git.codelinaro.org/clo/tools/repo.git
synced 2025-06-27 23:12:36 +08:00
Correct call to sys.exit()
It should be `sys.exit()` not `os.exit()`. Change-Id: Iaeeef456ddf2d17f5df2b712e50e3630bed856c3
This commit is contained in:

committed by
Gustaf Lundh

parent
b926116a14
commit
01f443d75a
2
pager.py
2
pager.py
@ -50,7 +50,7 @@ def RunPager(globalConfig):
|
|||||||
_BecomePager(pager)
|
_BecomePager(pager)
|
||||||
except Exception:
|
except Exception:
|
||||||
print >>sys.stderr, "fatal: cannot start pager '%s'" % pager
|
print >>sys.stderr, "fatal: cannot start pager '%s'" % pager
|
||||||
os.exit(255)
|
sys.exit(255)
|
||||||
|
|
||||||
def _SelectPager(globalConfig):
|
def _SelectPager(globalConfig):
|
||||||
try:
|
try:
|
||||||
|
Reference in New Issue
Block a user