aboutsummaryrefslogtreecommitdiff
path: root/debian/patches/lp1356823.diff
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/lp1356823.diff')
-rw-r--r--debian/patches/lp1356823.diff13
1 files changed, 13 insertions, 0 deletions
diff --git a/debian/patches/lp1356823.diff b/debian/patches/lp1356823.diff
new file mode 100644
index 0000000..db7efb4
--- /dev/null
+++ b/debian/patches/lp1356823.diff
@@ -0,0 +1,13 @@
+=== modified file 'aptdaemon/pkcompat.py'
+--- old/aptdaemon/pkcompat.py 2014-06-26 07:07:15 +0000
++++ new/aptdaemon/pkcompat.py 2015-04-16 15:04:08 +0000
+@@ -586,6 +586,8 @@
+
+ def _remove_from_connection_no_raise(self):
+ core.Transaction._remove_from_connection_no_raise(self)
++ if self.pktrans is None:
++ return False
+ self.pktrans.Destroy()
+ try:
+ self.pktrans.remove_from_connection()
+