[Telepathy] [PATCH] del unused magic import in ft-handler.py example
Maksim Melnikau
maxposedon at gmail.com
Sat Jan 5 15:03:36 PST 2013
1) it isn't used now
2) it is prevents run example on machines, which hasn't magic
3) magic(libmagic) isn't popular in various linux distributions
Signed-off-by: Maksim Melnikau <maxposedon at gmail.com>
---
examples/client/python/ft-handler.py | 2 --
1 file changed, 2 deletions(-)
diff --git a/examples/client/python/ft-handler.py b/examples/client/python/ft-handler.py
index 2e042f7..d1ac177 100644
--- a/examples/client/python/ft-handler.py
+++ b/examples/client/python/ft-handler.py
@@ -7,8 +7,6 @@ GObject.threads_init()
from gi.repository import Gio
from gi.repository import TelepathyGLib
-import magic
-
def usage():
print "%s FILE" % sys.argv[0]
print "FILE is a path to the location you want the file saved to"
--
1.8.1
More information about the telepathy
mailing list