<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>tester.rb</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -1,8 +1,10 @@
 from path import *
 import re
 
-def walk(filename):
-    &quot;&quot;&quot;docstring for walk&quot;&quot;&quot;
+def sanitize(filename):
+    &quot;&quot;&quot;
+    Walks the directory recursively and sanitizes filenames that match the given pattern.
+    &quot;&quot;&quot;
     for f in path(&quot;.&quot;).walkfiles(filename):
         source = f.text()
 
@@ -16,9 +18,9 @@ def walk(filename):
         sanitized = re.sub(&quot;([ ]+)\t&quot;, &quot;\\1    &quot;, sanitized)
         f.write_text(sanitized)
 
-walk(&quot;*.php&quot;)
-walk(&quot;*.rb&quot;)
-walk(&quot;*.js&quot;)
-walk(&quot;*.css&quot;)
-walk(&quot;*.twig&quot;)
-walk(&quot;triggers_list&quot;)
\ No newline at end of file
+sanitize(&quot;*.php&quot;)
+sanitize(&quot;*.rb&quot;)
+sanitize(&quot;*.js&quot;)
+sanitize(&quot;*.css&quot;)
+sanitize(&quot;*.twig&quot;)
+sanitize(&quot;triggers_list&quot;)
\ No newline at end of file</diff>
      <filename>sanitize.py</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>e1c0389f67f2ddd8436133f7a8d2962ff11a7df4</id>
    </parent>
  </parents>
  <author>
    <name>Alex Suraci</name>
    <email>i.am@toogeneric.com</email>
  </author>
  <url>http://github.com/vito/chyrp/commit/79a81114531e407645699a3894ab59c258fbbfc8</url>
  <id>79a81114531e407645699a3894ab59c258fbbfc8</id>
  <committed-date>2008-09-06T09:11:11-07:00</committed-date>
  <authored-date>2008-09-06T09:11:11-07:00</authored-date>
  <message>* Added a unit tester.
* Updated sanitize.py to be more clear as to what it does.</message>
  <tree>5331f5214db13997845e73a5e3efcbcecafc66ca</tree>
  <committer>
    <name>Alex Suraci</name>
    <email>i.am@toogeneric.com</email>
  </committer>
</commit>
