~nataliabidart/magicicada-client/snapping

« back to all changes in this revision

Viewing changes to ubuntuone/oauthdesktop/config.py

[r=jdobrien, r=thisfred] Python module layout simplification for packaging

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# canonical.ubuntuone.oauthdesktop.config - Configuration for OAuthDesktop
 
1
# ubuntuone.oauthdesktop.config - Configuration for OAuthDesktop
2
2
#
3
3
# Author: Stuart Langridge <stuart.langridge@canonical.com>
4
4
#
31
31
    """
32
32
    # if tmpconfig exists, then we are running out of the source tree
33
33
    tmpconfig = os.path.realpath(os.path.join(
34
 
            __file__, "../../../../data/oauth_urls"
 
34
            __file__, "../../../data/oauth_urls"
35
35
            ))
36
36
    if os.path.isfile(tmpconfig) and use_tmpconfig:
37
37
        config_file = tmpconfig