Ejemplo n.º 1
0
 def __exit__(self, x, y, z):
     intensity_conf.set(*(self.args[0:2] + (self.saved,)))
Ejemplo n.º 2
0
 def __exit__(self, x, y, z):
     intensity_conf.set(*(self.args[0:2] + (self.saved, )))
Ejemplo n.º 3
0
 def __enter__(self):
     self.saved = intensity_conf.get(*(self.args[0:2]))
     intensity_conf.set(*(self.args))
Ejemplo n.º 4
0
 def __enter__(self):
     self.saved = intensity_conf.get(*(self.args[0:2]))
     intensity_conf.set(*(self.args))