Commit fe745980 authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Fix minor indentation issue

parent 82af1903
...@@ -142,6 +142,8 @@ The background pattern was downloaded from www.subtlepatterns.com ...@@ -142,6 +142,8 @@ The background pattern was downloaded from www.subtlepatterns.com
Changelog Changelog
========= =========
1.5.16 (11/2016)
- Fix minor indentation issue when saving
1.5.15 (10/2016) 1.5.15 (10/2016)
- Report incomplete startup transitions as errors in nested states - Report incomplete startup transitions as errors in nested states
......
...@@ -240,7 +240,6 @@ def _decision(symbol, recursive=True, **kwargs): ...@@ -240,7 +240,6 @@ def _decision(symbol, recursive=True, **kwargs):
def _decisionanswer(symbol, recursive=True, **kwargs): def _decisionanswer(symbol, recursive=True, **kwargs):
''' Decision Answer symbol or branch if recursive is set ''' ''' Decision Answer symbol or branch if recursive is set '''
result = Indent() result = Indent()
Indent.indent += 1
result.append(cif_coord('ANSWER', symbol)) result.append(cif_coord('ANSWER', symbol))
ans = unicode(symbol) ans = unicode(symbol)
if ans.lower().strip() != u'else': if ans.lower().strip() != u'else':
...@@ -250,7 +249,6 @@ def _decisionanswer(symbol, recursive=True, **kwargs): ...@@ -250,7 +249,6 @@ def _decisionanswer(symbol, recursive=True, **kwargs):
result.append(u'{}:'.format(ans)) result.append(u'{}:'.format(ans))
if recursive: if recursive:
result.extend(recursive_aligned(symbol)) result.extend(recursive_aligned(symbol))
Indent.indent -= 1
return result return result
......
...@@ -138,7 +138,7 @@ except ImportError: ...@@ -138,7 +138,7 @@ except ImportError:
__all__ = ['opengeode', 'SDL_Scene', 'SDL_View', 'parse'] __all__ = ['opengeode', 'SDL_Scene', 'SDL_View', 'parse']
__version__ = '1.5.15' __version__ = '1.5.16'
if hasattr(sys, 'frozen'): if hasattr(sys, 'frozen'):
# Detect if we are running on Windows (py2exe-generated) # Detect if we are running on Windows (py2exe-generated)
......
Supports Markdown
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