Explorar el Código

Correct call to `sys.exit()`

It should be `sys.exit()` not `os.exit()`.

Change-Id: Iaeeef456ddf2d17f5df2b712e50e3630bed856c3
David Pursehouse hace 13 años
padre
commit
01f443d75a
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      pager.py

+ 1 - 1
pager.py

@@ -50,7 +50,7 @@ def RunPager(globalConfig):
     _BecomePager(pager)
   except Exception:
     print >>sys.stderr, "fatal: cannot start pager '%s'" % pager
-    os.exit(255)
+    sys.exit(255)
 
 def _SelectPager(globalConfig):
   try: