sorry wrong svn resolved usage by me
This commit is contained in:
parent
eaed2ffb9d
commit
447958e685
1 changed files with 0 additions and 14 deletions
|
@ -11,19 +11,6 @@ try:
|
||||||
except:
|
except:
|
||||||
print "could not import clearsilver modules! Try apt-get install python-clearsilver."
|
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:
|
class clearsilver:
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
pass
|
pass
|
||||||
|
@ -45,7 +32,6 @@ class clearsilver:
|
||||||
hdf.setValue(key,str(settings[key]))
|
hdf.setValue(key,str(settings[key]))
|
||||||
cs= neo_cs.CS(hdf)
|
cs= neo_cs.CS(hdf)
|
||||||
cs.parseFile(cs_path)
|
cs.parseFile(cs_path)
|
||||||
>>>>>>> .r387
|
|
||||||
return cs.render()
|
return cs.render()
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue