Remove unused code

Fixes pyflakes error

Signed-off-by: Gonzalo Odiard <godiard@sugarlabs.org>
This commit is contained in:
Gonzalo Odiard 2014-01-30 12:17:35 -03:00 committed by Daniel Narvaez
parent 30b67cc3d1
commit cf7a5905fd

View File

@ -19,7 +19,6 @@ import json
import os
import logging
from gi.repository import Gio
from gi.repository import Gtk
from gi.repository import GdkX11
assert GdkX11
@ -196,10 +195,3 @@ class WebActivity(Gtk.Window):
""" % env_json
self._web_view.execute_script(script)
def _app_scheme_cb(self, request, user_data):
path = os.path.join(self._bundle_path,
os.path.relpath(request.get_path(), "/"))
request.finish(Gio.File.new_for_path(path).read(None),
-1, Gio.content_type_guess(path, None)[0])