chiark
/
gitweb
/
~ian
/
secnet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
make-secnet-sites: sort the properties in level.output_props
[secnet.git]
/
make-secnet-sites
diff --git
a/make-secnet-sites
b/make-secnet-sites
index 74b09bd2395092323204dccd59b50d83c7f8a900..4826a445caa5604ca2c61f75a3dc1c8730bc8cf1 100755
(executable)
--- a/
make-secnet-sites
+++ b/
make-secnet-sites
@@
-417,7
+417,7
@@
class level:
def prop_out(self,n):
return self.allow_properties[n](n,str(self.properties[n]))
def output_props(self,w,ind):
def prop_out(self,n):
return self.allow_properties[n](n,str(self.properties[n]))
def output_props(self,w,ind):
- for i in s
elf.properties.keys(
):
+ for i in s
orted(self.properties.keys()
):
if self.allow_properties[i]:
self.indent(w,ind)
w.write("%s"%self.prop_out(i))
if self.allow_properties[i]:
self.indent(w,ind)
w.write("%s"%self.prop_out(i))