Skip to content
Permalink
Browse files

Indentation

  • Loading branch information
nyalldawson committed May 11, 2016
1 parent 88d3e2a commit 18b69d26ef769fb1345bb2d4a588f8036d7d0ad7
@@ -157,7 +157,7 @@ def addAlgorithmEntry(alg, menuName, submenuName, actionText=None, icon=None, ad
action = QAction(icon or alg.getIcon(), actionText or alg.name, iface.mainWindow())
action.triggered.connect(lambda: _executeAlgorithm(alg))
action.setObjectName("mProcessingUserMenu_%s" % alg.commandLineName())

if menuName:
menu = getMenu(menuName, iface.mainWindow().menuBar())
submenu = getMenu(submenuName, menu)
@@ -84,7 +84,7 @@ def check_algorithm(self, name, defs):

expectFailure = False
if 'expectedFailure' in defs:
exec('\n'.join(defs['expectedFailure'][:-1])) in globals(), locals()
exec(('\n'.join(defs['expectedFailure'][:-1])), globals(), locals())
expectFailure = eval(defs['expectedFailure'][-1])

def doCheck():
@@ -129,8 +129,8 @@ namespace pal
struct StackElement
{
StackElement()
: m_node( NULL )
, m_branchIndex( 0 )
: m_node( NULL )
, m_branchIndex( 0 )
{}
Node* m_node;
int m_branchIndex;

0 comments on commit 18b69d2

Please sign in to comment.
You can’t perform that action at this time.