home *** CD-ROM | disk | FTP | other *** search
/ Maximum CD 2010 November / maximum-cd-2010-11.iso / DiscContents / calibre-0.7.13.msi / file_2480 (.txt) < prev    next >
Encoding:
Python Compiled Bytecode  |  2010-08-06  |  487 b   |  11 lines

  1. # Source Generated with Decompyle++
  2. # File: in.pyc (Python 2.6)
  3.  
  4. import pywintypes
  5. import win32security
  6. sa = pywintypes.SECURITY_ATTRIBUTES()
  7. tmp_sid = win32security.LookupAccountName('', 'tmp')[0]
  8. sa.SetSecurityDescriptorOwner(tmp_sid, 0)
  9. sid = sa.SECURITY_DESCRIPTOR.GetSecurityDescriptorOwner()
  10. print win32security.LookupAccountSid('', sid)
  11.