Holger Brunn
8 years ago
No known key found for this signature in database
GPG Key ID: 1C9760FECA3AE18
1 changed files with
1 additions and
1 deletions
-
field_rrule/hooks.py
|
|
@ -8,7 +8,7 @@ import inspect |
|
|
|
def post_load_hook(): |
|
|
|
"""do some trickery to have demo data/model on runbot, but nowhere else""" |
|
|
|
if socket.getfqdn().endswith('odoo-community.org'): # pragma: nocover |
|
|
|
from . import demo |
|
|
|
from . import demo # flake8: noqa |
|
|
|
for frame, filename, lineno, funcname, line, index in inspect.stack(): |
|
|
|
if 'package' in frame.f_locals: |
|
|
|
frame.f_locals['package'].info['demo'] =\ |
|
|
|