mirror of
https://gerrit.googlesource.com/git-repo
synced 2024-12-21 07:16:21 +00:00
Correct call to sys.exit()
It should be `sys.exit()` not `os.exit()`. Change-Id: Iaeeef456ddf2d17f5df2b712e50e3630bed856c3
This commit is contained in:
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:
|
||||||
|
Loading…
Reference in New Issue
Block a user