From cd10c5006fa37eda8cdbb6000b5edfa70d70a37f Mon Sep 17 00:00:00 2001 From: Simon Schampijer Date: Sat, 01 Sep 2007 10:10:03 +0000 Subject: more refactoring for using json only --- (limited to 'sessionstore.py') diff --git a/sessionstore.py b/sessionstore.py index 0847976..2b96ea0 100644 --- a/sessionstore.py +++ b/sessionstore.py @@ -22,15 +22,11 @@ import logging from xpcom import components from xpcom.components import interfaces -import json - - def get_session(browser): session_history = browser.web_navigation.sessionHistory if session_history.count == 0: - return '' - + return '' return _get_history(session_history) def set_session(browser, data): -- cgit v0.9.1