Merge lp:~smoser/software-properties/trunk.lp1670399 into lp:software-properties

Proposed by Scott Moser
Status: Merged
Merge reported by: Scott Moser
Merged at revision: not available
Proposed branch: lp:~smoser/software-properties/trunk.lp1670399
Merge into: lp:software-properties
Diff against target: 44 lines (+9/-5)
3 files modified
debian/tests/control (+1/-1)
debian/tests/run-tests (+7/-3)
softwareproperties/shortcuts.py (+1/-1)
To merge this branch: bzr merge lp:~smoser/software-properties/trunk.lp1670399
Reviewer Review Type Date Requested Status
Ubuntu Core Development Team Pending
Review via email: mp+319105@code.launchpad.net
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
=== modified file 'debian/tests/control'
--- debian/tests/control 2016-09-01 10:23:19 +0000
+++ debian/tests/control 2017-03-06 17:11:16 +0000
@@ -1,5 +1,5 @@
1Tests: run-tests1Tests: run-tests
2Depends: @, xvfb, dbus-x11, python-dbus, python-pycurl, python3-pycurl, python-mock, python3-mock, python-distutils-extra, python-setuptools, python3-distutils-extra, python3-setuptools, python-gi, python3-gi, pyflakes, pyflakes32Depends: @, xvfb, dbus-x11, python-dbus, python-pycurl, python3-pycurl, python-mock, python3-mock, python-distutils-extra, python-setuptools, python3-distutils-extra, python3-setuptools, python-gi, python3-gi, pyflakes, pyflakes3, gnupg
33
4Tests: add-apt-repository4Tests: add-apt-repository
5Depends: software-properties-common, gnupg5Depends: software-properties-common, gnupg
66
=== modified file 'debian/tests/run-tests'
--- debian/tests/run-tests 2016-09-12 11:49:08 +0000
+++ debian/tests/run-tests 2017-03-06 17:11:16 +0000
@@ -14,9 +14,13 @@
14export LC_ALL=C.UTF-814export LC_ALL=C.UTF-8
1515
16# dirmngr and/or gpg-agent fail without ~/.gnupg present maybe some16# dirmngr and/or gpg-agent fail without ~/.gnupg present maybe some
17# places should be properly declaring homedir, instead of just17# places should be properly declaring homedir, instead of just keyrings
18# keyrings18if ! out=$(gpg --list-keys 2>&1); then
19gpg1 -k >/dev/null 2>&119 ret=$?
20 echo "Failed [$ret] to initialize ~/.gnupg with: gpg --list-keys" 1>&2
21 echo "$out" 1>&2;
22 exit $ret
23fi
2024
21code=025code=0
22if [ "$TMPDIR" ]; then26if [ "$TMPDIR" ]; then
2327
=== modified file 'softwareproperties/shortcuts.py'
--- softwareproperties/shortcuts.py 2014-09-24 09:50:37 +0000
+++ softwareproperties/shortcuts.py 2017-03-06 17:11:16 +0000
@@ -31,7 +31,7 @@
31 self.shortcut = shortcut31 self.shortcut = shortcut
3232
33 def add_key(self, keyserver=None):33 def add_key(self, keyserver=None):
34 return None34 return True
3535
36 def expand(self, codename=None, distro=None):36 def expand(self, codename=None, distro=None):
37 return (self.shortcut, None)37 return (self.shortcut, None)

Subscribers

People subscribed via source and target branches

to status/vote changes: