]> git.cworth.org Git - notmuch/blobdiff - notmuch-git.py
CLI/git: fix name error
[notmuch] / notmuch-git.py
index a11501ae4cfeb51988fc06b1015739d95d9fcf5d..29f7553127a2f3976268e583673860e658cced09 100644 (file)
@@ -247,7 +247,7 @@ def count_messages(prefix=None):
         stdout=_subprocess.PIPE, wait=True)
     if status != 0:
         _LOG.error("failed to run notmuch config")
-        sys.exit(1)
+        _sys.exit(1)
     return int(stdout.rstrip())
 
 def get_tags(prefix=None):