Remove the invalid use of keys() dict method
[bertos.git] / wizard / BProject.py
index 54db258a6c668bc7007130c40ed56fdd146c1235..95e514c11d1382b9efbf8b170ccaad14cc81a5c8 100644 (file)
@@ -4,7 +4,7 @@
 # Copyright 2008 Develer S.r.l. (http://www.develer.com/)
 # All rights reserved.
 #
-# $Id:$
+# $Id$
 #
 # Author: Lorenzo Berni <duplo@develer.com>
 #
@@ -27,7 +27,7 @@ class BProject(object):
         """
         Retrieve the value associated with the name key.
         """
-        if key in self.infos.keys():
+        if key in self.infos:
             return self.infos[key]
         return None