allura
Revisão | c062658931e7ca34f7c2d43fd3faa19117f2455c (tree) |
---|---|
Hora | 2011-05-07 00:01:48 |
Autor | Tim Van Steenburgh <tvansteenburgh@geek...> |
Commiter | Tim Van Steenburgh |
[#2071] Updated script to remove all subjects, even if non-empty.
Signed-off-by: Tim Van Steenburgh <tvansteenburgh@geek.net>
@@ -21,7 +21,7 @@ def main(): | ||
21 | 21 | for fp in forum_posts: |
22 | 22 | try: |
23 | 23 | s = fp['subject'] |
24 | - if test or s: | |
24 | + if test: | |
25 | 25 | log.info('... would remove subject "%s" from %s', s, fp['_id']) |
26 | 26 | else: |
27 | 27 | log.info('... removing subject "%s" from %s', s, fp['_id']) |