summaryrefslogtreecommitdiff
path: root/muse2/share/scripts/DoNothing
diff options
context:
space:
mode:
authorRobert Jonsson <spamatica@gmail.com>2010-10-13 19:34:22 +0000
committerRobert Jonsson <spamatica@gmail.com>2010-10-13 19:34:22 +0000
commit8a2c2824a59d7644e13bc52c9a0ecbd641f21f95 (patch)
tree064ad3f2bf8daab0ad27b128abd86a9bbdb1e496 /muse2/share/scripts/DoNothing
parenta27706d9629e8b592cca4659f865b70adef24e6d (diff)
new branch muse2, first checkin
Diffstat (limited to 'muse2/share/scripts/DoNothing')
-rwxr-xr-xmuse2/share/scripts/DoNothing15
1 files changed, 15 insertions, 0 deletions
diff --git a/muse2/share/scripts/DoNothing b/muse2/share/scripts/DoNothing
new file mode 100755
index 00000000..a3d92c7d
--- /dev/null
+++ b/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()