Commits

Roma Sokolov committed 2190e8c

tags now unique, thx Sevenov

Comments (0)

Files changed (1)

     @wraps(func)
     def wrapper(tags=''):
         if tags:
-            return func(*(filter(None, map(unicode.strip, tags.split('/')))))
+            return func(*set((tag.lower().strip() for tag
+                              in tags.split('/') if tag)))
         else:
             return func()
     return wrapper