Kaydet (Commit) 6882f0a2 authored tarafından Serdar Köylü's avatar Serdar Köylü

En buyuk cozunurluk...

üst e607900f
......@@ -69,9 +69,7 @@ class APICALLS:
prg = ""
for prm in keylist:
if prm == "file":
prg = prms[prm].data.value
prg = prms[prm].data.value
try:
f = open(prg, "r")
f.close()
......
......@@ -1111,7 +1111,7 @@ class CSLParse:
return None
else:
# foreach (array; keyid; instanceid; valueid) format
# foreach (array; keyid; valueid; [reverse;]) format
arrayid = this.CSLParseCheckId(__data)
if arrayid == None:
......
......@@ -1032,9 +1032,9 @@ class CSLCapsule:
tree = tree.next
elif tree.type == "if":
#print "IF Command:", tree.data, tree.data['cond']
tree.data['stat'] = self.CSLCheckVariable(tree.data["cond"], localTbl).toBoolean()
print "IF Command:", tree.data, tree.data['cond'], tree.data['stat']
if tree.data['stat']:
tnStack.append(tree.next)
opStack.append({ 'op': 'if', 'loopBegin': tree.child })
......
......@@ -297,14 +297,19 @@ method ConfigureDisplay(dpi=90) {
ini_fld["EXTRAMODS"] = extra_modules;
ini_fld["DRIVER"] = xdrv ;
modes = DisplayInfo + " ";
debugout(value=vals);
modes = ""; #DisplayInfo + " ";
debugout(value=vals);
passed = 0;
foreach(key=val reverse vals) {
debugout(value="check:"+val);
if (DisplayInfo != val) {
#debugout(value="Add:"+val);
modes = modes + " " + val;
}
debugout(value="check:"+val);
#if (DisplayInfo != val) {
#debugout(value="Add:"+val);
# if (passed == 1) {
modes = modes + " " + val;
# }
#} else {
# passed = 1;
#}
}
debugout(value="Prepare xorg file after...");
ini_fld["MODES"] = modes;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment