home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 2009 June / maximum-cd-2009-06.iso / DiscContents / digsby_setup.exe / lib / util / urlhandler.pyo (.txt) < prev    next >
Encoding:
Python Compiled Bytecode  |  2009-02-26  |  654 b   |  15 lines

  1. # Source Generated with Decompyle++
  2. # File: in.pyo (Python 2.5)
  3.  
  4. import wx
  5. from logging import getLogger
  6. log = getLogger('urlhandler')
  7. info = log.info
  8. if 'wxMSW' in wx.PlatformInfo:
  9.     
  10.     def register_protocol(protocol):
  11.         key = _winreg.OpenKeyEx(_winreg.HKEY_CURRENT_USER, 'HKEY_CLASSES_ROOT\\%s' % protocol, 0, _winreg.KEY_ALL_ACCESS)
  12.  
  13. else:
  14.     log.warning('No URL handling implementation for this platform.')
  15.