diff rhodecode/lib/exceptions.py @ 2677:4fbbc65e8cd5 beta

Forbid changing changset status when it is associated with a closed pull request - fixed some issues with cascade deleting repos with changeset statuses attached
author Marcin Kuzminski <marcin@python-works.com>
date Mon, 30 Jul 2012 23:29:03 +0200
parents 89efedac4e6c
children aa17c7a1b8a5
line wrap: on
line diff
--- a/rhodecode/lib/exceptions.py	Mon Jul 30 22:45:43 2012 +0200
+++ b/rhodecode/lib/exceptions.py	Mon Jul 30 23:29:03 2012 +0200
@@ -50,3 +50,7 @@
 
 class UsersGroupsAssignedException(Exception):
     pass
+
+
+class StatusChangeOnClosedPullRequestError(Exception):
+    pass
\ No newline at end of file