• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Keine Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

allura


Commit MetaInfo

Revisionc062658931e7ca34f7c2d43fd3faa19117f2455c (tree)
Zeit2011-05-07 00:01:48
AutorTim Van Steenburgh <tvansteenburgh@geek...>
CommiterTim Van Steenburgh

Log Message

[#2071] Updated script to remove all subjects, even if non-empty.

Signed-off-by: Tim Van Steenburgh <tvansteenburgh@geek.net>

Ändern Zusammenfassung

Diff

--- a/scripts/remove-forumpost-subject.py
+++ b/scripts/remove-forumpost-subject.py
@@ -21,7 +21,7 @@ def main():
2121 for fp in forum_posts:
2222 try:
2323 s = fp['subject']
24- if test or s:
24+ if test:
2525 log.info('... would remove subject "%s" from %s', s, fp['_id'])
2626 else:
2727 log.info('... removing subject "%s" from %s', s, fp['_id'])