Skip to content

Commit

Permalink
Don't update bases if event is a Remove event
Browse files Browse the repository at this point in the history
  • Loading branch information
do3cc committed Feb 24, 2010
1 parent 0ee6bde commit b8d9fa1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGES.txt
Expand Up @@ -3,6 +3,8 @@ Changelog

1.3 - unreleased
----------------
* Don't update bases if event is a Remove event
[do3cc]


1.2 - 2009-10-19
Expand Down
4 changes: 3 additions & 1 deletion src/five/localsitemanager/__init__.py
Expand Up @@ -76,4 +76,6 @@ def update_sitemanager_bases(site):


def update_sitemanager_bases_handler(site, event):
update_sitemanager_bases(site)
"""After a site is moved, its site manager links have to be updated."""
if event.newParent is not None:
update_sitemanager_bases(site)

0 comments on commit b8d9fa1

Please sign in to comment.