• R/O
  • SSH

execsql: Commit

Default repository for execsql.py


Commit MetaInfo

Révision07743afaf2d3a3f7d73d3664b0fe9436a8d42e5c (tree)
l'heure2016-08-11 04:30:05
AuteurDreas Nielsen <dnielsen@inte...>
CommiterDreas Nielsen

Message de Log

Corrected ELSEIF evaluation.

Change Summary

Modification

diff -r edfa5a307487 -r 07743afaf2d3 execsql/execsql.py
--- a/execsql/execsql.py Tue Aug 09 09:15:50 2016 -0700
+++ b/execsql/execsql.py Wed Aug 10 12:30:05 2016 -0700
@@ -27,8 +27,8 @@
2727 #
2828 # ===============================================================================
2929
30-__version__ = "1.8.1.0"
31-__vdate = "2016-08-09"
30+__version__ = "1.8.1.1"
31+__vdate = "2016-08-10"
3232
3333 import os
3434 import os.path
@@ -5894,8 +5894,10 @@
58945894
58955895 ##### BLOCK ELSEIF
58965896 def x_if_elseif(**kwargs):
5897- if working_script.all_true() or working_script.only_current_false():
5897+ if working_script.only_current_false():
58985898 working_script.replace_if_level(xcmd_test(kwargs['condtest']))
5899+ else:
5900+ working_script.replace_if_level(False)
58995901 return None
59005902
59015903 metacommands.append(MetaCommand(r'^\s*ELSEIF\s*\(\s*(?P<condtest>.+)\s*\)\s*$', x_if_elseif, run_when_false=True))
Afficher sur ancien navigateur de dépôt.