hgext/fsmonitor/pywatchman/__init__.py
changeset 33769 dd35abc409ee
parent 30656 16f4b341288d
child 39826 c31ce080eb75
--- a/hgext/fsmonitor/pywatchman/__init__.py	Thu Aug 10 20:55:28 2017 -0700
+++ b/hgext/fsmonitor/pywatchman/__init__.py	Thu Aug 10 09:37:50 2017 -0700
@@ -825,7 +825,7 @@
             p = subprocess.Popen(cmd, **args)
 
         except OSError as e:
-            raise WatchmanError('"watchman" executable not in PATH (%s)', e)
+            raise WatchmanError('"watchman" executable not in PATH (%s)' % e)
 
         stdout, stderr = p.communicate()
         exitcode = p.poll()