~ubuntu-branches/ubuntu/quantal/ubuntu-sso-client/quantal-proposed

« back to all changes in this revision

Viewing changes to ubuntu_sso/logger.py

  • Committer: Package Import Robot
  • Author(s): Rodney Dawes
  • Date: 2012-06-27 15:10:41 UTC
  • mfrom: (1.1.38)
  • Revision ID: package-import@ubuntu.com-20120627151041-ncy0p12p1kct0h7j
Tags: 3.99.1-0ubuntu1
* New upstream release.
  - Handle type annotation when printed from gsettings. (LP: #1007109)
  - Remove back buttons in sign in/up pages. (LP: #1009107)
  - Disable tests broken by GTK+ 3.5 behavior change. (LP: #1014772)
  - Remove code duplication with dirspec. (LP: #1016151)
  - Stop using deprecated dict iteritems/itervalues calls. (LP: #1016707)
  - Stop using deprecated exception handling method. (LP: #1016711)
* debian/control:
  - Update dependencies.
* debian/*.install:
  - Remove modules that duplicated code with dirspec.
* debian/patches:
  - Remove upstreamed patches.

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
import os
38
38
import sys
39
39
 
 
40
from dirspec.basedir import xdg_cache_home
 
41
from dirspec.utils import unicode_path
40
42
from functools import wraps
41
43
from logging.handlers import RotatingFileHandler
42
44
 
43
 
from ubuntu_sso.xdg_base_directory import unicode_path, xdg_cache_home
44
 
 
45
45
LOGFOLDER = os.path.join(xdg_cache_home, 'sso')
46
46
# create log folder if it doesn't exists
47
47
if not os.path.exists(unicode_path(LOGFOLDER)):