git://git.onelab.eu
/
sfa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
3a38cab
)
mark 'last_updated, and date_created as readonly. Will remove readonly attribute...
author
Tony Mack
<tmack@cs.princeton.edu>
Wed, 14 Oct 2009 15:34:14 +0000
(15:34 +0000)
committer
Tony Mack
<tmack@cs.princeton.edu>
Wed, 14 Oct 2009 15:34:14 +0000
(15:34 +0000)
sfa/util/record.py
patch
|
blob
|
history
diff --git
a/sfa/util/record.py
b/sfa/util/record.py
index
a59a9c7
..
45b77db
100644
(file)
--- a/
sfa/util/record.py
+++ b/
sfa/util/record.py
@@
-49,8
+49,8
@@
class GeniRecord(dict):
'hrn': Parameter(str, "Human readable name of object"),
'gid': Parameter(str, "GID of the object"),
'type': Parameter(str, "Record type"),
'hrn': Parameter(str, "Human readable name of object"),
'gid': Parameter(str, "GID of the object"),
'type': Parameter(str, "Record type"),
- 'last_updated': Parameter(int, 'Date and time of last update'),
- 'date_created': Parameter(int, 'Date and time this record was created'),
+ 'last_updated': Parameter(int, 'Date and time of last update'
, ro=True
),
+ 'date_created': Parameter(int, 'Date and time this record was created'
, ro=True
),
}
all_fields = dict(fields.items() + internal_fields.items())
##
}
all_fields = dict(fields.items() + internal_fields.items())
##