[pitivi] preset: Remove unreachable statement



commit ec20f2b16f88a6c8fe411438dd15d4f06f9b9dd6
Author: Alexandru Băluț <alexandru balut gmail com>
Date:   Mon Sep 29 23:36:37 2014 +0200

    preset: Remove unreachable statement

 pitivi/preset.py |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/pitivi/preset.py b/pitivi/preset.py
index 72cac1e..f3d8be9 100644
--- a/pitivi/preset.py
+++ b/pitivi/preset.py
@@ -283,9 +283,7 @@ class PresetManager(object):
             # default_path is the system-wide directory where the default
             # presets are installed; they are not expected to be editable.
             return False
-        else:
-            return True
-        return False
+        return True
 
     def _saveSection(self, fout, section):
         """Save the specified section into the specified file.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]