Merge lp:~bryanquigley/light-locker-settings/light-locker-settings into lp:light-locker-settings

Proposed by Bryan Quigley
Status: Merged
Merged at revision: 153
Proposed branch: lp:~bryanquigley/light-locker-settings/light-locker-settings
Merge into: lp:light-locker-settings
Diff against target: 74 lines (+8/-8)
4 files modified
configure (+1/-1)
debian/control (+3/-3)
light-locker-settings/light-locker-settings.py (+3/-3)
light-locker-settings/light_locker_xfsync.py (+1/-1)
To merge this branch: bzr merge lp:~bryanquigley/light-locker-settings/light-locker-settings
Reviewer Review Type Date Requested Status
Light Locker Settings Team Pending
Review via email: mp+262102@code.launchpad.net

Description of the change

Simple Python3 port

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'configure'
2--- configure 2015-01-20 03:03:23 +0000
3+++ configure 2015-06-16 15:16:34 +0000
4@@ -3,7 +3,7 @@
5 APPNAME=light-locker-settings
6 VERSION=1.5.0
7
8-PYTHON=python
9+PYTHON=python3
10
11 help () {
12 echo "Supported options are:"
13
14=== modified file 'debian/control'
15--- debian/control 2014-08-17 10:49:38 +0000
16+++ debian/control 2015-06-16 15:16:34 +0000
17@@ -3,8 +3,8 @@
18 Priority: optional
19 Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
20 XSBC-Original-Maintainer: Sean Davis <smd.seandavis@gmail.com>
21-Build-Depends: debhelper (>= 9), python (>= 2.6.6-3~),
22- python-distutils-extra (>= 2.10)
23+Build-Depends: debhelper (>= 9), python3 (>= 3.4),
24+ python3-distutils-extra (>= 2.10)
25 Standards-Version: 3.9.5
26 X-Python-Version: >= 2.6
27 Homepage: https://launchpad.net/light-locker-settings
28@@ -15,7 +15,7 @@
29 ${misc:Depends},
30 gir1.2-glib-2.0,
31 gir1.2-gtk-3.0,
32- python-psutil,
33+ python3-psutil,
34 light-locker (>= 1.4.0)
35 Description: simple configuration tool for light-locker
36 light-locker-settings is a simple configuration utility that allows you
37
38=== modified file 'light-locker-settings/light-locker-settings.py'
39--- light-locker-settings/light-locker-settings.py 2015-01-14 02:59:51 +0000
40+++ light-locker-settings/light-locker-settings.py 2015-06-16 15:16:34 +0000
41@@ -1,4 +1,4 @@
42-#!/usr/bin/python
43+#!/usr/bin/python3
44 # -*- Mode: Python; coding: utf-8; indent-tabs-mode: nil; tab-width: 4 -*-
45 # Light Locker Settings - simple configuration tool for light-locker
46 # Copyright (C) 2014 Thomas Molloy <beetyrootey@gmail.com>
47@@ -357,7 +357,7 @@
48 keyfile.load_from_dirs(filename, dirs,
49 GLib.KeyFileFlags.KEEP_TRANSLATIONS)
50
51- for key in defaults.keys():
52+ for key in list(defaults.keys()):
53 try:
54 if keyfile.get_value("Desktop Entry", key) is None:
55 keyfile.set_value("Desktop Entry", key, defaults[key])
56@@ -456,7 +456,7 @@
57 settings['lock-on-suspend'] = xfpm_sync.get_lock()
58
59 # Check if any known screensaver managers are currently running.
60- for process_name in screensaver_managers.keys():
61+ for process_name in list(screensaver_managers.keys()):
62 if self.check_running_process(process_name):
63 name, command = screensaver_managers[process_name]
64 self.use_screensaver_manager(name, command)
65
66=== modified file 'light-locker-settings/light_locker_xfsync.py'
67--- light-locker-settings/light_locker_xfsync.py 2014-09-25 21:57:49 +0000
68+++ light-locker-settings/light_locker_xfsync.py 2015-06-16 15:16:34 +0000
69@@ -1,4 +1,4 @@
70-#!/usr/bin/python
71+#!/usr/bin/python3
72 # -*- Mode: Python; coding: utf-8; indent-tabs-mode: nil; tab-width: 4 -*-
73 # Light Locker Settings - simple configuration tool for light-locker
74 # Copyright (C) 2014 Thomas Molloy <beetyrootey@gmail.com>

Subscribers

People subscribed via source and target branches