You get the version with dpkg -l live-magic or with this patch
and live-magic --version:

--- live-magic.orig     2008-07-08 17:27:14.000000000 +0200
+++ live-magic  2008-07-08 17:32:58.000000000 +0200
@@ -5,7 +5,7 @@
 import gtk
 import gtk.glade
 import os.path
-import sys
+import optparse
 
 from livemagic.model import *
 from livemagic.views import *
@@ -50,8 +50,10 @@
             return path
 
 if __name__ == "__main__":
+    optparser = optparse.OptionParser(version="0.3")
+    _, files = optparser.parse_args()
     m = Model()
-    c = Controller(m, sys.argv[1:])
+    c = Controller(m, files)
     v = View(c)
     c.ready()
 



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to