~ubuntuone-control-tower/ubuntuone-client/trunk

« back to all changes in this revision

Viewing changes to bin/ubuntuone-syncdaemon

  • Committer: Tarmac
  • Author(s): Diego Sarmentero, Rodney Dawes
  • Date: 2014-04-11 14:23:37 UTC
  • mfrom: (1403.1.8 ubuntuone-client)
  • Revision ID: tarmac-20140411142337-vg6lk4a6a5au0jag
- Show a message when the client is started indicating that the service will be suspended on June 1st.
- After June 1st, don't contact the server.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/usr/bin/python
2
2
#
3
 
# Copyright 2009-2012 Canonical Ltd.
 
3
# Copyright 2009-2013 Canonical Ltd.
4
4
#
5
5
# This program is free software: you can redistribute it and/or modify it
6
6
# under the terms of the GNU General Public License version 3, as published
31
31
import sys
32
32
 
33
33
if sys.platform not in ('win32', 'darwin'):
34
 
    try:
35
 
        from twisted.internet import gireactor
36
 
        gireactor.install()
37
 
    except ImportError:
38
 
        from twisted.internet import glib2reactor
39
 
        glib2reactor.install()
40
 
 
 
34
    from twisted.internet import gireactor
 
35
    gireactor.install()
41
36
    from dbus.mainloop.glib import DBusGMainLoop
42
37
    DBusGMainLoop(set_as_default=True)
43
38
 
 
39
 
44
40
import atexit
45
41
import os
46
42
import signal