summaryrefslogtreecommitdiff
path: root/attic/muse2-oom/muse2/share/scripts/DoNothing
diff options
context:
space:
mode:
authorRobert Jonsson <spamatica@gmail.com>2011-03-07 19:01:11 +0000
committerRobert Jonsson <spamatica@gmail.com>2011-03-07 19:01:11 +0000
commite40fc849149dd97c248866a4a1d026dda5e57b62 (patch)
treeb12b358f3b3a0608001d30403358f8443118ec5f /attic/muse2-oom/muse2/share/scripts/DoNothing
parent1bd4f2e8d9745cabb667b043171cad22c8577768 (diff)
clean3
Diffstat (limited to 'attic/muse2-oom/muse2/share/scripts/DoNothing')
-rwxr-xr-xattic/muse2-oom/muse2/share/scripts/DoNothing15
1 files changed, 15 insertions, 0 deletions
diff --git a/attic/muse2-oom/muse2/share/scripts/DoNothing b/attic/muse2-oom/muse2/share/scripts/DoNothing
new file mode 100755
index 00000000..a3d92c7d
--- /dev/null
+++ b/attic/muse2-oom/muse2/share/scripts/DoNothing
@@ -0,0 +1,15 @@
+#!/usr/bin/env python
+# -*- coding: utf-8 -*-
+import sys
+testFile = file(sys.argv[1],"r")
+inputEvents = testFile.readlines()
+testFile.close()
+
+outputEvents=[]
+#loop through events
+for line in inputEvents:
+ outputEvents.append(line)
+
+testFile = file(sys.argv[1],"w")
+testFile.writelines(outputEvents)
+testFile.close()