Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/webactivity.py
diff options
context:
space:
mode:
authorSascha Silbe <sascha-pgp@silbe.org>2010-06-16 17:58:25 (GMT)
committer Sascha Silbe <sascha-pgp@silbe.org>2010-06-16 17:58:25 (GMT)
commitbf73fce4c2eb8b973aa10dfee1f91aadff4bf367 (patch)
treea31cf85fd6cc7d6aada27ee49c22fcbc73405803 /webactivity.py
parent09cc6048656b29eebec3b0502fa342dd516b4281 (diff)
add/remove some empty lines according to PEP8
Diffstat (limited to 'webactivity.py')
-rw-r--r--webactivity.py4
1 files changed, 3 insertions, 1 deletions
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)
-