[llvm-commits] [zorg] r125896 - /zorg/trunk/llvmlab/llvmlab/machine.py
Daniel Dunbar
daniel at zuster.org
Fri Feb 18 08:42:27 PST 2011
Author: ddunbar
Date: Fri Feb 18 10:42:26 2011
New Revision: 125896
URL: http://llvm.org/viewvc/llvm-project?rev=125896&view=rev
Log:
llvmlab: Add 'admin' field to Machine records.
Modified:
zorg/trunk/llvmlab/llvmlab/machine.py
Modified: zorg/trunk/llvmlab/llvmlab/machine.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/llvmlab/llvmlab/machine.py?rev=125896&r1=125895&r2=125896&view=diff
==============================================================================
--- zorg/trunk/llvmlab/llvmlab/machine.py (original)
+++ zorg/trunk/llvmlab/llvmlab/machine.py Fri Feb 18 10:42:26 2011
@@ -11,13 +11,15 @@
if version != 0:
raise ValueError, "Unknown version"
- return Machine(data['id'], data['hostname'])
+ return Machine(data['id'], data['hostname'], data['admin'])
def todata(self):
return { 'version' : 0,
'id' : self.id,
- 'hostname' : self.hostname }
+ 'hostname' : self.hostname,
+ 'admin' : self.admin }
- def __init__(self, id, hostname):
+ def __init__(self, id, hostname, admin):
self.id = id
self.hostname = hostname
+ self.admin = admin
More information about the llvm-commits
mailing list