cleanup stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 01 Jul 2009 20:18:21 +0200
branchstable
changeset 2225 16826403affa
parent 2224 52041b014949
child 2226 f5216e540168
child 2232 7837a3941327
cleanup
web/formwidgets.py
web/views/cwproperties.py
--- a/web/formwidgets.py	Wed Jul 01 20:18:15 2009 +0200
+++ b/web/formwidgets.py	Wed Jul 01 20:18:21 2009 +0200
@@ -231,6 +231,7 @@
     """
     type = 'radio'
 
+
 # javascript widgets ###########################################################
 
 class DateTimePicker(TextInput):
--- a/web/views/cwproperties.py	Wed Jul 01 20:18:15 2009 +0200
+++ b/web/views/cwproperties.py	Wed Jul 01 20:18:21 2009 +0200
@@ -299,11 +299,10 @@
         _ = form.req._
         if entity.has_eid():
             return [(_(entity.pkey), entity.pkey)]
-        # key beginning with 'system.' should usually not be edited by hand
         choices = entity.vreg.user_property_keys()
         return [(u'', u'')] + sorted(zip((_(v) for v in choices), choices))
 
-    
+
 class PropertyValueField(StringField):
     """specific field for CWProperty.value  which will be different according to
     the selected key type and vocabulary information