From bf73fce4c2eb8b973aa10dfee1f91aadff4bf367 Mon Sep 17 00:00:00 2001 From: Sascha Silbe Date: Wed, 16 Jun 2010 17:58:25 +0000 Subject: add/remove some empty lines according to PEP8 --- (limited to 'webactivity.py') diff --git a/webactivity.py b/webactivity.py index 3a2cfeb..48cd90f 100644 --- a/webactivity.py +++ b/webactivity.py @@ -70,6 +70,7 @@ if _profile_version < PROFILE_VERSION: f.write(str(PROFILE_VERSION)) f.close() + def _seed_xs_cookie(): ''' Create a HTTP Cookie to authenticate with the Schoolserver ''' @@ -133,6 +134,7 @@ hulahop.startup(_profile_path) from xpcom import components + def _set_accept_languages(): ''' Set intl.accept_languages based on the locale ''' @@ -172,6 +174,7 @@ PATH = "/org/laptop/WebActivity" _logger = logging.getLogger('web-activity') + class WebActivity(activity.Activity): def __init__(self, handle): activity.Activity.__init__(self, handle) @@ -555,4 +558,3 @@ class WebActivity(activity.Activity): def get_document_path(self, async_cb, async_err_cb): browser = self._tabbed_view.props.current_browser browser.get_source(async_cb, async_err_cb) - -- cgit v0.9.1