Subversion Repositories SmartDukaan

Rev

Rev 70 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 70 Rev 71
Line 85... Line 85...
85
			throw new IllegalStateException("Exec is not called yet");
85
			throw new IllegalStateException("Exec is not called yet");
86
		}
86
		}
87
		
87
		
88
		PyInteger score = (PyInteger)this.py.get("score");
88
		PyInteger score = (PyInteger)this.py.get("score");
89
		
89
		
-
 
90
		if(score == null) {
-
 
91
			CMPRuleDefinition cmpRuleDef = 
-
 
92
				this.expandedCMPSlideRuleDefinition.getCMPRuleDefinition();
-
 
93
			
-
 
94
			String pyScript = cmpRuleDef.getScript();
-
 
95
			Utils.severe("No score returned from script " + pyScript);
-
 
96
			return -1;
-
 
97
		}
-
 
98
		
90
		return score.asInt();
99
		return score.asInt();
91
	}
100
	}
92
}
101
}