Fix bugs typos in _clean_tag()
authorW. Trevor King <wking@drexel.edu>
Wed, 21 Jul 2010 18:35:31 +0000 (14:35 -0400)
committerW. Trevor King <wking@drexel.edu>
Wed, 21 Jul 2010 18:35:31 +0000 (14:35 -0400)
cookbook/server.py

index 516d6616f8aa9fb65f60706e1a84067defc2cdce..4eda91a31b140c2081255f4e7757d69509ed6641 100644 (file)
@@ -107,8 +107,7 @@ class Server (object):
 
     def _clean_tag(self, tag):
         """Sanitize tag."""
-        tags = []
-        m = self.tag_regexp.match(t)
+        m = self.tag_regexp.match(tag)
         if m != None:
             return m.group()
         return None