~nataliabidart/ubuntuone-control-panel/selectable-labels

« back to all changes in this revision

Viewing changes to ubuntuone/controlpanel/utils.py

- If servers reply with a 401, clear credentials and ask user to authenticate (LP: #726612).

Show diffs side-by-side

added added

removed removed

Lines of Context:
52
52
 
53
53
    # otherwise, try to load PROJECT_DIR from installation path
54
54
    try:
55
 
        # pylint: disable=F0401, E0611
 
55
        # pylint: disable=F0401, E0611, W0404
56
56
        from ubuntuone.controlpanel.constants import PROJECT_DIR
57
57
        return PROJECT_DIR
58
58
    except ImportError: