Changeset 1403 for trunk/packages/invirt-vnc-server/python/vnc
- Timestamp:
- Oct 28, 2008, 10:53:32 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/invirt-vnc-server/python/vnc/extauth.py
r1388 r1403 21 21 22 22 def getTokenKey(): 23 token_key = file('/etc/invirt/secrets/vnc-key').read().strip() 24 while True: 25 yield token_key 26 getTokenKey = getTokenKey().next 23 return file('/etc/invirt/secrets/vnc-key').read().strip() 27 24 28 25 def getPort(name, auth_data):
Note: See TracChangeset
for help on using the changeset viewer.