# HG changeset patch
# User Steve Losh <steve@stevelosh.com>
# Date 1251508889 14400
# Node ID baca14ea9bc3fe9fcd79fc916d9ed9d6d887bf5a
# Parent  40775a8b4167dadeefb88e38e45c661584695a2a
Make a variable name better.

diff -r 40775a8b4167 -r baca14ea9bc3 t.py
--- a/t.py	Fri Aug 28 21:20:55 2009 -0400
+++ b/t.py	Fri Aug 28 21:21:29 2009 -0400
@@ -24,13 +24,13 @@
         self.prefix = prefix
     
 
-def _hash(s):
-    """Return a hash of the given string for use as an id.
+def _hash(text):
+    """Return a hash of the given text for use as an id.
     
     Currently SHA1 hashing is used.  It should be plenty for our purposes.
     
     """
-    return hashlib.sha1(s).hexdigest()
+    return hashlib.sha1(text).hexdigest()
 
 def _task_from_taskline(taskline):
     """Parse a taskline (from a task file) and return a task.