Trivial fix of error display
authorFrederic Massart <fred@moodle.com>
Thu, 28 Feb 2013 05:50:06 +0000 (13:50 +0800)
committerFrederic Massart <fred@moodle.com>
Thu, 28 Feb 2013 05:50:06 +0000 (13:50 +0800)
moodle-backport.py

index bb9a240..840f43f 100755 (executable)
@@ -135,13 +135,13 @@ for v in versions:
     if result[0] != 0:
         debug('Error while cherry-picking %s in %s.' % (cherry, name))
         debug(result[2])
-        debug('')
         if yesOrNo('The cherry-pick might still be in progress, would you like to abort it?'):
             result = M2.git().pick(abort=True)
             if result[0] > 0 and result[0] != 128:
                 debug('Could not abort the cherry-pick!')
             else:
                 stashPop(stash)
+        debug('')
         continue
 
     # Pushing branch