conduit r1244 - in trunk: . conduit/modules/N800Module



Author: johncarr
Date: Thu Jan 17 22:32:31 2008
New Revision: 1244
URL: http://svn.gnome.org/viewvc/conduit?rev=1244&view=rev

Log:
Update to detect N810

Modified:
   trunk/ChangeLog
   trunk/conduit/modules/N800Module/N800Module.py

Modified: trunk/conduit/modules/N800Module/N800Module.py
==============================================================================
--- trunk/conduit/modules/N800Module/N800Module.py	(original)
+++ trunk/conduit/modules/N800Module/N800Module.py	Thu Jan 17 22:32:31 2008
@@ -30,7 +30,7 @@
     def is_interesting(self, udi, props):
         if props.has_key("info.parent") and props.has_key("info.parent")!="":
             prop2 = self._get_properties(props["info.parent"])
-            if prop2.has_key("storage.model") and prop2["storage.model"]=="N800":
+            if prop2.has_key("storage.model") and prop2["storage.model"] in ("N800", "N810"):
                 if prop2.has_key("storage.removable") and prop2["storage.removable"] == True:
                     return True
         return False



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