<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -9,7 +9,8 @@
 import os
 import subprocess
 tm_file = os.environ['TM_FILEPATH']
-pyflakes_cmd = '%s %s' % ('pyflakes', tm_file)
+pyflakes = os.environ.get('TM_PYFLAKES', 'pyflakes')
+pyflakes_cmd = '%s %s' % (pyflakes, tm_file)
 out = subprocess.Popen(pyflakes_cmd,
                        shell=True,
                        stdout=subprocess.PIPE,
@@ -21,7 +22,9 @@ if not out[1].find('command not found') &amp;gt; 0:
         out = ''.join(out[1])
     out = out.replace('%s:' % tm_file, '')
 else:
-    out = &quot;Warning: No pyflakes found!&quot;
+    out = &quot;&quot;&quot;Warning: No pyflakes found!
+You can set the TM_PYFLAKES environment variable to point to it.
+&quot;&quot;&quot;
 
 print out
 &lt;/string&gt;</diff>
      <filename>Commands/Validate Syntax (pyflakes).tmCommand</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>7b5007cd7c7d77211f3f1fafc7bb4146f75dd2f7</id>
    </parent>
  </parents>
  <author>
    <name>Tom Lazar</name>
    <email>tom@tomster.org</email>
  </author>
  <url>http://github.com/tomster/zope.tmbundle/commit/cd15fc247a5806f9b1f21881b691e05442a0f8ce</url>
  <id>cd15fc247a5806f9b1f21881b691e05442a0f8ce</id>
  <committed-date>2009-09-12T10:08:41-07:00</committed-date>
  <authored-date>2009-09-12T10:08:41-07:00</authored-date>
  <message>use TM_PYFLAKES to point to your own custom version of pyflakes</message>
  <tree>5de96ac51f75c8133d89136dde603bb377799079</tree>
  <committer>
    <name>Tom Lazar</name>
    <email>tom@tomster.org</email>
  </committer>
</commit>
