~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to remakeallusers.py

  • Committer: mattgiuca
  • Date: 2008-03-05 05:55:24 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:651
util.js: Added write_cookie and read_cookie functions for JavaScript,
    allowing you to effectively treat the cookie as a dictionary
    rather than a big string.

Show diffs side-by-side

added added

removed removed

Lines of Context:
46
46
        return (flds['login'], flds['unixid'])
47
47
    uids = dict(map(repack,res))
48
48
 
 
49
    return uids[login]
 
50
 
49
51
except Exception, message:
50
52
    print "Error: " + str(message)
51
53
    sys.exit(1)