| Total Complexity | 1 |
| Total Lines | 21 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | # this is where the environment should be taken from |
||
| 2 | # it makes sure the environment is setup before it is imported |
||
| 3 | import exabgp.environment.setup |
||
| 4 | |||
| 5 | from exabgp.environment.environment import Env |
||
| 6 | |||
| 7 | from exabgp.environment.base import APPLICATION |
||
| 8 | from exabgp.environment.base import ENVFILE |
||
| 9 | from exabgp.environment.base import ROOT |
||
| 10 | from exabgp.environment.base import ETC |
||
| 11 | |||
| 12 | # As soon as we import anything, a COPY is made in the local |
||
| 13 | # namespace, it mean that we can not import the GlobalHashTable |
||
| 14 | # directly but must ask for a copy to be made each time |
||
| 15 | # at the time of import, so using a function get around it |
||
| 16 | from exabgp.environment.hashtable import GlobalHashTable as __ |
||
| 17 | |||
| 18 | |||
| 19 | def getenv(): |
||
| 20 | return __() |
||
| 21 |