--- a/cwvreg.py Mon Jun 29 14:12:18 2009 +0200
+++ b/cwvreg.py Thu Jul 02 10:35:03 2009 +0200
@@ -303,9 +303,10 @@
def user_property_keys(self, withsitewide=False):
if withsitewide:
- return sorted(self['propertydefs'])
+ return sorted(k for k in self['propertydefs']
+ if not k.startswith('sources.'))
return sorted(k for k, kd in self['propertydefs'].iteritems()
- if not kd['sitewide'])
+ if not kd['sitewide'] and not k.startswith('sources.'))
def register_property(self, key, type, help, default=None, vocabulary=None,
sitewide=False):