CmdExpection --> CmdException

Signed-off-by: Peter Grayson <[email protected]>
---
 stgit/commands/branch.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/stgit/commands/branch.py b/stgit/commands/branch.py
index fd0eb263..13a9f5ad 100644
--- a/stgit/commands/branch.py
+++ b/stgit/commands/branch.py
@@ -153,7 +153,7 @@ def __delete_branch(doomed_name, force = False):
 def __cleanup_branch(name, force = False):
     branch = stack.Series(name)
     if branch.get_protected():
-        raise CmdExcpetion('This branch is protected. Clean up is not
permitted')
+        raise CmdException('This branch is protected. Clean up is not
permitted')

     out.start('Cleaning up branch "%s"' % name)
     branch.delete(force = force, cleanup = True)

_______________________________________________
stgit-users mailing list
[email protected]
https://mail.gna.org/listinfo/stgit-users

Reply via email to