From e2231d56203dcc58cc8a8a873ab1eef1b56a629e Mon Sep 17 00:00:00 2001 From: Sascha Silbe Date: Fri, 15 Oct 2010 17:53:25 +0000 Subject: PEP8 cleanup: fix number of blank lines Caught by pep8. Reviewed-by: James Cameron Acked-by: Simon Schampijer CC: Aleksey Lim --- (limited to 'src/sugar/presence/connectionmanager.py') diff --git a/src/sugar/presence/connectionmanager.py b/src/sugar/presence/connectionmanager.py index e681eb6..6604d3f 100644 --- a/src/sugar/presence/connectionmanager.py +++ b/src/sugar/presence/connectionmanager.py @@ -31,12 +31,14 @@ from telepathy.constants import CONNECTION_STATUS_CONNECTED ACCOUNT_MANAGER_SERVICE = 'org.freedesktop.Telepathy.AccountManager' ACCOUNT_MANAGER_PATH = '/org/freedesktop/Telepathy/AccountManager' + class Connection(object): def __init__(self, account_path, connection): self.account_path = account_path self.connection = connection self.connected = False + class ConnectionManager(object): """Track available telepathy connections""" @@ -108,8 +110,8 @@ class ConnectionManager(object): return account_path return None -_connection_manager = None +_connection_manager = None def get_connection_manager(): global _connection_manager if not _connection_manager: -- cgit v0.9.1