]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/models/node.py
Some unicode fixes.
[osqa.git] / forum / models / node.py
index afb04cf50ce91fccfbb2e0e157fb01849d890d82..bf82708cdf604644ec0c7a2b5e76a71708d0d9bb 100644 (file)
@@ -382,10 +382,10 @@ class Node(BaseModel, NodeContent):
             return None
         else:
             if self._original_state['tagnames']:
-                old_tags = set(name for name in self._original_state['tagnames'].split(u' '))
+                old_tags = set(self._original_state['tagnames'].split())
             else:
                 old_tags = set()
-            new_tags = set(name for name in self.tagnames.split(u' ') if name)
+            new_tags = set(self.tagnames.split())
 
             return dict(
                     current=list(new_tags),