Show More
@@ -911,9 +911,9 b' class ApiController(JSONRPCController):' | |||||
911 | _forks_msg = '' |
|
911 | _forks_msg = '' | |
912 | _forks = [f for f in repo.forks] |
|
912 | _forks = [f for f in repo.forks] | |
913 | if handle_forks == 'detach': |
|
913 | if handle_forks == 'detach': | |
914 |
_forks_msg = ' ' + |
|
914 | _forks_msg = ' ' + 'Detached %s forks' % len(_forks) | |
915 | elif handle_forks == 'delete': |
|
915 | elif handle_forks == 'delete': | |
916 |
_forks_msg = ' ' + |
|
916 | _forks_msg = ' ' + 'Deleted %s forks' % len(_forks) | |
917 | elif _forks: |
|
917 | elif _forks: | |
918 | raise JSONRPCError( |
|
918 | raise JSONRPCError( | |
919 | 'Cannot delete `%s` it still contains attached forks' |
|
919 | 'Cannot delete `%s` it still contains attached forks' |
General Comments 0
You need to be logged in to leave comments.
Login now