~mikemc/ubuntuone-client/cleanup-platform-constants

« back to all changes in this revision

Viewing changes to ubuntuone/platform/session.py

  • Committer: Tarmac
  • Author(s): Rodney Dawes
  • Date: 2012-04-10 15:07:29 UTC
  • mfrom: (1222.1.3 openssl-except)
  • Revision ID: tarmac-20120410150729-7x02z02dcfxhucdp
Add required OpenSSL license exception text
Fix some small docstring issues and missing module docstrings
Fix coding: utf8 usage to be utf-8

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
# -*- coding: utf-8 *-*
2
2
#
3
 
# Copyright 2011 Canonical Ltd.
 
3
# Copyright 2011-2012 Canonical Ltd.
4
4
#
5
5
# This program is free software: you can redistribute it and/or modify it
6
6
# under the terms of the GNU General Public License version 3, as published
13
13
#
14
14
# You should have received a copy of the GNU General Public License along
15
15
# with this program.  If not, see <http://www.gnu.org/licenses/>.
16
 
 
 
16
#
 
17
# In addition, as a special exception, the copyright holders give
 
18
# permission to link the code of portions of this program with the
 
19
# OpenSSL library under certain conditions as described in each
 
20
# individual source file, and distribute linked combinations
 
21
# including the two.
 
22
# You must obey the GNU General Public License in all respects
 
23
# for all of the code used other than OpenSSL.  If you modify
 
24
# file(s) with this exception, you may extend this exception to your
 
25
# version of the file(s), but you are not obligated to do so.  If you
 
26
# do not wish to do so, delete this exception statement from your
 
27
# version.  If you delete this exception statement from all source
 
28
# files in the program, then also delete it here.
17
29
"""Inhibit session logout when busy."""
18
30
 
19
31
import sys