~chicharreros/magicicada-client/1.0

« back to all changes in this revision

Viewing changes to ubuntuone/syncdaemon/hash_queue.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
 
# ubuntuone.syncdaemon.hash_queue - hash queues
2
 
#
3
 
# Authors: Facundo Batista <facundo@canonical.com>
4
 
#          Guillermo Gonzalez <guillermo.gonzalez@canonical.com>
5
 
#          Alejandro J. Cura <alecu@canonical.com>
 
1
# -*- coding: utf-8 -*-
6
2
#
7
3
# Copyright 2009-2012 Canonical Ltd.
 
4
# Copyright 2015-2018 Chicharreros (https://launchpad.net/~chicharreros)
8
5
#
9
6
# This program is free software: you can redistribute it and/or modify it
10
7
# under the terms of the GNU General Public License version 3, as published
41
38
 
42
39
from collections import OrderedDict
43
40
 
 
41
from magicicadaprotocol.content_hash import content_hash_factory, crc32
44
42
from twisted.internet import reactor
45
43
 
46
 
from ubuntuone.storageprotocol.content_hash import \
47
 
    content_hash_factory, crc32
48
 
 
49
44
from ubuntuone.platform import (
50
45
    open_file,
51
46
    stat_path,