~facundo/magicicada-client/changes-for-xenial

« back to all changes in this revision

Viewing changes to ubuntuone/platform/ipc/windows.py

  • Committer: Magicicada Bot
  • Author(s): Natalia
  • Date: 2016-05-30 15:43:30 UTC
  • mfrom: (1418.1.21 no-sso-client)
  • Revision ID: magicicada_bot-20160530154330-b4his4s3wlucu7zv
[r=facundo] - Decouple client code from ubuntu-sso-client code. Copied and made an initial cleanup on the networkstate, utils and keyring modules.
- Removed completely dependencies with oauthlibs.
- Moved tests/ folder to inside ubuntuone/ proper folders.

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
# files in the program, then also delete it here.
29
29
"""IPC implementation for windows."""
30
30
 
31
 
from ubuntu_sso.main.windows import get_sso_pb_port
32
 
 
33
 
SD_SSO_PORT_OFFSET = 1
 
31
SD_PORT = 5555
34
32
 
35
33
 
36
34
def get_sd_pb_port():
37
35
    """Returns the host and port for this user."""
38
 
    return get_sso_pb_port() + SD_SSO_PORT_OFFSET
 
36
    return SD_PORT_OFFSET
39
37
 
40
38
 
41
39
class DescriptionFactory(object):