[Commotion-admin] [mlab-observatory] Use absolute_import to clean up imports in test files (#97)
Michael Lynch
notifications at github.com
Fri Mar 25 09:25:08 EDT 2016
Instead of:
```
import os
import sys
sys.path.insert(1, os.path.abspath(
os.path.join(os.path.dirname(__file__), '../convert_from_telescope')))
import aggregate
```
We should do this:
```
from __future__ import absolute_import
from telescope import aggregate
```
---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/m-lab/mlab-observatory/issues/97
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.chambana.net/pipermail/commotion-admin/attachments/20160325/59ae4d54/attachment.html>
More information about the Commotion-admin
mailing list