~chicharreros/magicicada-client/1.0

« back to all changes in this revision

Viewing changes to ubuntuone/syncdaemon/interaction_interfaces.py

  • Committer: Magicicada Bot
  • Author(s): Natalia
  • Date: 2018-04-24 15:59:00 UTC
  • mfrom: (1442.1.1 use-protocol-from-wheel)
  • Revision ID: magicicada_bot-20180424155900-2mwasih60li4jh2p
[r=facundo] - Use protocol from wheel release.
- Fix copyright headers from modified files.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
# -*- coding: utf-8 -*-
2
2
#
3
3
# Copyright 2011-2015 Canonical Ltd.
 
4
# Copyright 2015-2018 Chicharreros (https://launchpad.net/~chicharreros)
4
5
#
5
6
# This program is free software: you can redistribute it and/or modify it
6
7
# under the terms of the GNU General Public License version 3, as published
44
45
 
45
46
from functools import wraps
46
47
 
 
48
from magicicadaprotocol import request
47
49
from twisted.internet import defer
48
50
 
49
51
from ubuntuone.networkstate import NetworkManagerState
50
 
try:
51
 
    from ubuntuone.networkstate.networkstates import ONLINE
52
 
except ImportError:
53
 
    from ubuntuone.networkstate import ONLINE
 
52
from ubuntuone.networkstate.networkstates import ONLINE
54
53
 
55
54
from ubuntuone.logger import log_call
56
55
from ubuntuone.platform import ExternalInterface
57
 
from ubuntuone.storageprotocol import request
58
56
from ubuntuone.syncdaemon import config
59
57
from ubuntuone.syncdaemon.action_queue import Download, Upload
60
58
from ubuntuone.syncdaemon.interfaces import IMarker