remove all try/except

This commit is contained in:
2016-01-03 21:18:52 +01:00
parent e8764f6173
commit b521c459ee
9 changed files with 236 additions and 180 deletions

View File

@ -44,10 +44,8 @@ class Settings(Cache):
self._properties.clear()
def delproperties(self, path):
try:
if path in self._properties:
del(self._properties[path])
except KeyError:
pass
def setpermissive(self, path, permissive):
self._permissives[path] = frozenset(permissive)