msmith - in flumotion/branches/platform-3: . flumotion/twisted

flumotion-commit at lists.fluendo.com flumotion-commit at lists.fluendo.com
Fri Jun 1 12:56:00 CEST 2007


Author: msmith
Date: Fri Jun  1 12:55:58 2007
New Revision: 5083

Modified:
   flumotion/branches/platform-3/ChangeLog
   flumotion/branches/platform-3/flumotion/twisted/flavors.py
Log:
        * flumotion/twisted/flavors.py:
          Backport: minor fix to not use setattr() where it's not needed;
          silences pychecker.



Modified: flumotion/branches/platform-3/ChangeLog
==============================================================================
--- flumotion/branches/platform-3/ChangeLog	(original)
+++ flumotion/branches/platform-3/ChangeLog	Fri Jun  1 12:55:58 2007
@@ -1,5 +1,11 @@
 2007-06-01  Michael Smith <msmith at fluendo.com>
 
+	* flumotion/twisted/flavors.py:
+	  Backport: minor fix to not use setattr() where it's not needed;
+	  silences pychecker.
+
+2007-06-01  Michael Smith <msmith at fluendo.com>
+
 	* flumotion/component/base/http.py:
 	  Backport: don't traceback in logs on failed authentication
 

Modified: flumotion/branches/platform-3/flumotion/twisted/flavors.py
==============================================================================
--- flumotion/branches/platform-3/flumotion/twisted/flavors.py	(original)
+++ flumotion/branches/platform-3/flumotion/twisted/flavors.py	Fri Jun  1 12:55:58 2007
@@ -418,7 +418,7 @@
         # to remotely invalidate the cache. that's ok though, because
         # double-caches are currently only used by the manager, which
         # does not call invalidate() on its caches.
-        setattr(self, '_cache_invalid', True)
+        self._cache_invalid = True
 
         self._ensureListeners()
         # copy of keys, because dict could change during iteration


More information about the flumotion-commit mailing list