~xnox/oneconf/scripts-and-shebangs

« back to all changes in this revision

Viewing changes to test/run

  • Committer: Didier Roche
  • Date: 2012-12-10 15:35:06 UTC
  • mfrom: (258.1.13 lp1077076)
  • Revision ID: didier.roche@canonical.com-20121210153506-y35d3wdk04n2uhqo
Merge awesome Barry's port to python 3:
* Port to Python 3.3 (I can downgrade to 3.2 on request)
* Port to python3-oauthlib
* Fix many dictionary order dependencies
* Code style cleanups
* Cleanup pyflakes warnings
* Whitespace cleanups
* Get all but 2 tests passing
* Moved the __main__ section in oneconf/networksync/__init__.py to a __main__.py so we can invoke it with python3 -m

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/usr/bin/python
 
1
#!/usr/bin/env python3
2
2
# -*- Mode: Python; coding: utf-8; indent-tabs-mode: nil; tab-width: 4 -*-
3
3
### BEGIN LICENSE
4
4
# Copyright (C) 2011 Didier Roche <didrocks@ubuntu.com>
5
 
# This program is free software: you can redistribute it and/or modify it 
6
 
# under the terms of the GNU General Public License version 3, as published 
 
5
# This program is free software: you can redistribute it and/or modify it
 
6
# under the terms of the GNU General Public License version 3, as published
7
7
# by the Free Software Foundation.
8
 
9
 
# This program is distributed in the hope that it will be useful, but 
10
 
# WITHOUT ANY WARRANTY; without even the implied warranties of 
11
 
# MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR 
 
8
#
 
9
# This program is distributed in the hope that it will be useful, but
 
10
# WITHOUT ANY WARRANTY; without even the implied warranties of
 
11
# MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR
12
12
# PURPOSE.  See the GNU General Public License for more details.
13
 
14
 
# You should have received a copy of the GNU General Public License along 
 
13
#
 
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
### END LICENSE
17
17