sleep.py

changeset 69
8705e296c7a0
parent 68
72f821e17123
child 76
4b08fca3ce34
equal deleted inserted replaced
68:72f821e17123 69:8705e296c7a0
3 # 3 #
4 4
5 import Foundation 5 import Foundation
6 import AppKit 6 import AppKit
7 import borgend 7 import borgend
8 import platform
8 9
9 logger=borgend.logger.getChild(__name__) 10 logger=borgend.logger.getChild(__name__)
10 11
11 class SleepHandler(Foundation.NSObject): 12 class SleepHandler(Foundation.NSObject):
12 """ Handle wake/sleep notifications """ 13 """ Handle wake/sleep notifications """

mercurial