Mercurial > libervia-web
comparison libervia/pages/merge-requests/view/page_meta.py @ 1145:29eb15062416
pages: set __name__ for imported pages
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 25 Jan 2019 08:41:43 +0100 |
parents | 28e3eb3bb217 |
children | b2d067339de3 |
comparison
equal
deleted
inserted
replaced
1144:2af117bfe6cc | 1145:29eb15062416 |
---|---|
13 from sat.core.log import getLogger | 13 from sat.core.log import getLogger |
14 | 14 |
15 name = u"merge-requests_view" | 15 name = u"merge-requests_view" |
16 access = C.PAGES_ACCESS_PUBLIC | 16 access = C.PAGES_ACCESS_PUBLIC |
17 template = u"merge-request/item.html" | 17 template = u"merge-request/item.html" |
18 log = getLogger(u"pages/" + name) | 18 log = getLogger(__name__) |
19 | 19 |
20 | 20 |
21 def parse_url(self, request): | 21 def parse_url(self, request): |
22 try: | 22 try: |
23 item_id = self.nextPath(request) | 23 item_id = self.nextPath(request) |