]> git.notmuchmail.org Git - notmuch/blobdiff - notmuch-git.py
CLI/git: fix name error
[notmuch] / notmuch-git.py
index 57098aae7821e5ddb5e1543d6e6c58d2c3d9a0bd..29f7553127a2f3976268e583673860e658cced09 100644 (file)
@@ -31,7 +31,6 @@ import locale as _locale
 import logging as _logging
 import os as _os
 import re as _re
-import shutil as _shutil
 import subprocess as _subprocess
 import sys as _sys
 import tempfile as _tempfile
@@ -248,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):