changeset 27170:4cff4c38c5cc

histedit: add missing raise keyword to statement
author timeless <timeless@mozdev.org>
date Wed, 02 Dec 2015 07:40:42 +0000
parents dd214130a4f6
children 3028ea0aff46
files hgext/histedit.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/histedit.py	Wed Dec 02 07:39:49 2015 +0000
+++ b/hgext/histedit.py	Wed Dec 02 07:40:42 2015 +0000
@@ -1157,7 +1157,7 @@
         constraints = action.constraints()
         for constraint in constraints:
             if constraint not in _constraints.known():
-                error.Abort(_('unknown constraint "%s"') % constraint)
+                raise error.Abort(_('unknown constraint "%s"') % constraint)
 
         nodetoverify = action.nodetoverify()
         if nodetoverify is not None: