##// 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 post.id))
78 post.id))
79
79
80 thread.replies.add(post)
80 thread.replies.add(post)
81 for tag in tags:
81 list(map(thread.add_tag, tags))
82 thread.add_tag(tag)
83
82
84 if new_thread:
83 if new_thread:
85 Thread.objects.process_oldest_threads()
84 Thread.objects.process_oldest_threads()
General Comments 0
You need to be logged in to leave comments. Login now