[SCM] morituri/master: whitespace and commenting

js at users.alioth.debian.org js at users.alioth.debian.org
Sun Oct 19 20:09:51 UTC 2014


The following commit has been merged in the master branch:
commit 813a41badf7dc2cc42bb9738e0a647471f2244dd
Author: Thomas Vander Stichele <thomas (at) apestaart (dot) org>
Date:   Sun Jan 6 15:25:51 2013 +0000

    whitespace and commenting

diff --git a/morituri/common/cache.py b/morituri/common/cache.py
index 45c265f..2fb8044 100644
--- a/morituri/common/cache.py
+++ b/morituri/common/cache.py
@@ -134,11 +134,12 @@ class PersistedCache(object):
         Returns the persister for the given key.
         """
         persister = Persister(self._getPath(key))
-        if persister.object:
-            if hasattr(persister.object, 'instanceVersion'):
-                o = persister.object
-                # if o.instanceVersion < o.__class__.classVersion:
-                #     persister.delete()
+        # FIXME: don't delete old objects atm
+        # if persister.object:
+        #     if hasattr(persister.object, 'instanceVersion'):
+        #         o = persister.object
+        #         if o.instanceVersion < o.__class__.classVersion:
+        #             persister.delete()
 
         return persister
 
diff --git a/morituri/common/common.py b/morituri/common/common.py
index baf4638..7245179 100644
--- a/morituri/common/common.py
+++ b/morituri/common/common.py
@@ -20,11 +20,11 @@
 # You should have received a copy of the GNU General Public License
 # along with morituri.  If not, see <http://www.gnu.org/licenses/>.
 
+
 import os
 import os.path
 import math
-import tempfile
-import shutil
+
 
 from morituri.extern.log import log
 

-- 
morituri packaging



More information about the pkg-multimedia-commits mailing list