twaugh pushed to expendable (f21). "Don't exit with traceback when location not mounted."
notifications at fedoraproject.org
notifications at fedoraproject.org
Thu Apr 2 15:17:22 UTC 2015
>From 6411618f81167d6a99d13697002d9684e8bc3f1f Mon Sep 17 00:00:00 2001
From: Tim Waugh <twaugh at redhat.com>
Date: Thu, 2 Apr 2015 16:03:24 +0100
Subject: Don't exit with traceback when location not mounted.
diff --git a/expendable-not-mounted.patch b/expendable-not-mounted.patch
new file mode 100644
index 0000000..4b61b31
--- /dev/null
+++ b/expendable-not-mounted.patch
@@ -0,0 +1,16 @@
+diff -up expendable-0.0.10/main.py.not-mounted expendable-0.0.10/main.py
+--- expendable-0.0.10/main.py.not-mounted 2015-03-31 17:32:08.000000000 +0100
++++ expendable-0.0.10/main.py 2015-04-02 16:02:20.250703202 +0100
+@@ -179,6 +179,12 @@ class Main:
+ if uri != example_uri:
+ uri = example_uri
+ continue
++ except gio.Error:
++ if uri != example_uri:
++ uri = example_uri
++ continue
++
++ raise
+
+ break
+
diff --git a/expendable.spec b/expendable.spec
index 3d8e675..3ba37ce 100644
--- a/expendable.spec
+++ b/expendable.spec
@@ -1,12 +1,13 @@
Summary: Home finances modeling program
Name: expendable
Version: 0.0.10
-Release: 1%{?dist}
+Release: 2%{?dist}
License: GPLv2+
Group: Applications/Productivity
URL: https://fedorahosted.org/expendable/
# Add "?format=raw" to the following URL to download file:
Source0: https://fedorahosted.org/releases/e/x/expendable/%{name}-%{version}.tar.xz
+Patch1: expendable-not-mounted.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
@@ -28,6 +29,7 @@ amount.
%prep
%setup -q
+%patch1 -p1 -b .not-mounted
%build
%configure
@@ -82,6 +84,9 @@ fi
%{_datadir}/applications/*.desktop
%changelog
+* Thu Apr 2 2015 Tim Waugh <twaugh at redhat.com> - 0.0.10-2
+- Don't exit with traceback when location not mounted.
+
* Tue Mar 31 2015 Tim Waugh <twaugh at redhat.com> - 0.0.10-1
- 0.0.10.
--
cgit v0.10.2
http://pkgs.fedoraproject.org/cgit/expendable.git/commit/?h=f21&id=6411618f81167d6a99d13697002d9684e8bc3f1f
More information about the scm-commits
mailing list