~diegosarmentero/ubuntu-sso-client/not-validated-account

« back to all changes in this revision

Viewing changes to ubuntu_sso/utils/__init__.py

  • Committer: Tarmac
  • Author(s): Alejandro J. Cura
  • Date: 2011-11-17 18:51:55 UTC
  • mfrom: (815.1.2 timestamp-server)
  • Revision ID: tarmac-20111117185155-2tqgsajivu7767ep
Use the dedicated time url (LP: #891644)

Show diffs side-by-side

added added

removed removed

Lines of Context:
45
45
 
46
46
    CHECKING_INTERVAL = 60 * 60  # in seconds
47
47
    ERROR_INTERVAL = 30  # in seconds
48
 
    SERVER_URL = "http://one.ubuntu.com/"
 
48
    SERVER_URL = "http://one.ubuntu.com/api/time"
49
49
 
50
50
    def __init__(self):
51
51
        """Initialize this instance."""