Switch to unified view

a/scripts/migrations/010-fix-home-permissions.py b/scripts/migrations/010-fix-home-permissions.py
1
import sys
1
import sys
2
import logging
2
import logging
3
from collections import OrderedDict
3
4
4
from pylons import c
5
from pylons import c
5
from ming.orm import session
6
from ming.orm import session
6
from bson import ObjectId
7
from bson import ObjectId
7
8
8
from allura import model as M
9
from allura import model as M
9
from allura.lib.ordereddict import OrderedDict
10
from forgewiki.wiki_main import ForgeWikiApp
10
from forgewiki.wiki_main import ForgeWikiApp
11
11
12
log = logging.getLogger('fix-home-permissions')
12
log = logging.getLogger('fix-home-permissions')
13
handler = logging.StreamHandler(sys.stdout)
13
handler = logging.StreamHandler(sys.stdout)
14
log.addHandler(handler)
14
log.addHandler(handler)