[next] telepathy-glib: del unused magic import in ft-handler.py example
Simon McVittie
smcv at kemper.freedesktop.org
Thu Sep 12 09:57:31 PDT 2013
Module: telepathy-glib
Branch: next
Commit: 08a0b1b3462a571a91d12ab63d3d5c17d9317c38
URL: http://cgit.freedesktop.org/telepathy/telepathy-glib/commit/?id=08a0b1b3462a571a91d12ab63d3d5c17d9317c38
Author: Maksim Melnikau <maxposedon at gmail.com>
Date: Sun Jan 6 02:03:36 2013 +0300
del unused magic import in ft-handler.py example
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>
Reviewed-by: Simon McVittie <simon.mcvittie at collabora.co.uk>
---
examples/client/python/ft-handler.py | 2 --
1 files changed, 0 insertions(+), 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"
More information about the telepathy-commits
mailing list