1. German Larrain
  2. ars


German Larrain  committed c3da156

app.ActionMap.has_key: replaced `dict.has_key` with the `in` operator for
Python 3 compatibility.

  • Participants
  • Parent commits e5eb781
  • Branches dev

Comments (0)

Files changed (1)

File ars/app/__init__.py

View file
  • Ignore whitespace
 		self._map[key] = (value, repeat)
 	def has_key(self, key):
-		return self._map.has_key(key)
+		return key in self._map
 	def get(self, key, default=None):
 		return self._map.get(key, default)