~canonical-ci-engineering/adt-result-checker/trunk

« back to all changes in this revision

Viewing changes to adt_result_checker/_cloud_support.py

  • Committer: Joe Talbott
  • Date: 2015-04-14 22:43:24 UTC
  • mto: This revision was merged to the branch mainline in revision 13.
  • Revision ID: joe.talbott@canonical.com-20150414224324-m748hy74t48k6cr0
Fix flake8 issues.

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
"""Functions that talk to the cloud."""
19
19
 
20
20
import logging
21
 
from functools import lru_cache
22
21
 
23
22
from swiftclient.service import (
24
 
    SwiftPostObject,
25
23
    SwiftService,
26
24
)
27
25
 
31
29
__all__ = [
32
30
    'result_tarball_exists_in_swift',
33
31
    'set_config_dict',
34
 
    'upload_tarball_to_swift_container',
35
32
]
36
33
 
37
34
 
38
 
 
39
35
def set_config_dict(config_dict):
40
36
    global get_config_dict
41
37
    get_config_dict = lambda: config_dict