[pitivi] medialibrary.py Don't check if a list is inferior to an int ..
- From: Mathieu Duponchelle <mathieudu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pitivi] medialibrary.py Don't check if a list is inferior to an int ..
- Date: Tue, 29 Apr 2014 20:54:55 +0000 (UTC)
commit 6a38b38f6839ec8d9044b17eed94f2d0f284e3fa
Author: Mathieu Duponchelle <mathieu duponchelle opencreed com>
Date: Tue Apr 29 22:54:01 2014 +0200
medialibrary.py Don't check if a list is inferior to an int ..
when removing sources.
pitivi/medialibrary.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/pitivi/medialibrary.py b/pitivi/medialibrary.py
index 9e06637..1b0944c 100644
--- a/pitivi/medialibrary.py
+++ b/pitivi/medialibrary.py
@@ -748,7 +748,7 @@ class MediaLibraryWidget(Gtk.VBox, Loggable):
"""
model = self.treeview.get_model()
paths = self.getSelectedPaths()
- if paths is None or paths < 1:
+ if not paths:
return
# use row references so we don't have to care if a path has been removed
rows = []
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]