##// END OF EJS Templates
Use map() in python3 style
neko259 -
r770:d854d75e default
parent child Browse files
Show More
@@ -78,8 +78,7 b' class PostManager(models.Manager):'
78 78 post.id))
79 79
80 80 thread.replies.add(post)
81 for tag in tags:
82 thread.add_tag(tag)
81 list(map(thread.add_tag, tags))
83 82
84 83 if new_thread:
85 84 Thread.objects.process_oldest_threads()
General Comments 0
You need to be logged in to leave comments. Login now