diff options
| author | David Pursehouse <david.pursehouse@sonymobile.com> | 2012-10-03 19:11:28 +0900 |
|---|---|---|
| committer | Gustaf Lundh <gustaf.lundh@sonymobile.com> | 2012-10-04 10:31:09 +0200 |
| commit | 01f443d75a8116aaca5612ee44cceb1ff1a18f2f (patch) | |
| tree | 02f8bc525cfa95d1fae0fd106278f3bf24d87896 | |
| parent | b926116a1483d04df99252ed02418bf8e58094a3 (diff) | |
| download | git-repo-01f443d75a8116aaca5612ee44cceb1ff1a18f2f.tar.gz | |
Correct call to `sys.exit()`
It should be `sys.exit()` not `os.exit()`.
Change-Id: Iaeeef456ddf2d17f5df2b712e50e3630bed856c3
| -rwxr-xr-x | pager.py | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -50,7 +50,7 @@ def RunPager(globalConfig): | |||
| 50 | _BecomePager(pager) | 50 | _BecomePager(pager) |
| 51 | except Exception: | 51 | except Exception: |
| 52 | print >>sys.stderr, "fatal: cannot start pager '%s'" % pager | 52 | print >>sys.stderr, "fatal: cannot start pager '%s'" % pager |
| 53 | os.exit(255) | 53 | sys.exit(255) |
| 54 | 54 | ||
| 55 | def _SelectPager(globalConfig): | 55 | def _SelectPager(globalConfig): |
| 56 | try: | 56 | try: |
