Minor cleanups; no functional changes.

lslcleanup: Variables renamed, order changed, comments added.

Other changes: remove semicolon at end of sentence, use self.Cast instead of creating a CAST node on the fly.
This commit is contained in:
Sei Lisa 2017-09-22 14:17:56 +02:00
parent 0a7e2a9e1d
commit a0d4c77081
3 changed files with 24 additions and 24 deletions

View file

@ -72,7 +72,7 @@ def llDetectedName(idx, event=None):
assert isinteger(idx)
if 0 <= idx <= 15 and (event in DetectionEvents or event is None):
raise ELSLCantCompute
return NULL_KEY;
return NULL_KEY
def llDetectedOwner(idx, event=None):
assert isinteger(idx)