[pitivi] project_: Remove dead condition
- From: Thibault Saunier <tsaunier src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] project_: Remove dead condition
- Date: Sat, 19 Aug 2017 03:27:28 +0000 (UTC)
commit 5970cca6b471d3d3e8ae19412b11aba8cffa691b
Author: Thibault Saunier <tsaunier gnome org>
Date: Sun Aug 13 23:55:09 2017 -0300
project_: Remove dead condition
Reviewed-by: Alex Băluț <<alexandru balut gmail com>>
Differential Revision: https://phabricator.freedesktop.org/D1835
pitivi/project.py | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/pitivi/project.py b/pitivi/project.py
index 39852f6..c376070 100644
--- a/pitivi/project.py
+++ b/pitivi/project.py
@@ -1346,10 +1346,6 @@ class Project(Loggable, GES.Project):
self.remove_asset(asset)
proxy_target.force_proxying = False
if delete_proxy_file:
- if not self.app.proxy_manager.is_proxy_asset(asset):
- raise RuntimeError("Trying to remove proxy %s"
- " but it does not look like one!",
- asset.props.id)
os.remove(Gst.uri_get_location(asset.props.id))
else:
# The asset is an original which is not being proxied.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]