sorry wrong svn resolved usage by me

This commit is contained in:
age 2006-08-20 08:27:03 +00:00
parent eaed2ffb9d
commit 447958e685

View file

@ -11,19 +11,6 @@ try:
except:
print "could not import clearsilver modules! Try apt-get install python-clearsilver."
<<<<<<< .mine
class RunCmd:
def index(self):
hdf = neo_util.HDF()
#hdf.setValue("hdf.loadpaths.0","/my/path")
hdf.readFile("../lang/de.hdf")
hdf.setValue("Settings.TemplateDir","../templates")
hdf.setValue("Settings.Stylesheet","cryptobox.css")
hdf.setValue("Data.Action","show_status")
cs = neo_cs.CS(hdf)
cs.parseFile("../templates/main.cs")
=======
class clearsilver:
def __init__(self):
pass
@ -45,7 +32,6 @@ class clearsilver:
hdf.setValue(key,str(settings[key]))
cs= neo_cs.CS(hdf)
cs.parseFile(cs_path)
>>>>>>> .r387
return cs.render()