if i>0: kver=v[:i]
else: kver=v
return v+"<br><a href='config-%s'>config</a>"%(urllib.quote(kver))
+ def versions(self):
+ for v in self.values:
+ i=v.find(":")
+ if i>0: kver=v[:i]
+ else: kver=v
+ yield kver
+
class AxisClck(Axis):
os.remove("index.html")
except OSError: pass
-os.symlink("%s-%s.html"%(kernels.type, kernels[0]), "index.html")
+os.symlink("%s-%s.html"%(clocks.type, clocks[0]), "index.html")
os.system("source-highlight -d --output-dir=. ../*.sh")
-
+for v in kernels.versions():
+ os.system("cp /boot/config-%s ."%v)