diff silvermirror/unify.py @ 40:d081ca2e8696

py35
author Jeff Hammel <k0scist@gmail.com>
date Mon, 20 Feb 2017 15:02:50 -0800
parents e86d475435ee
children 7d28efc8dfa1
line wrap: on
line diff
--- a/silvermirror/unify.py	Tue May 12 18:33:30 2015 -0700
+++ b/silvermirror/unify.py	Mon Feb 20 15:02:50 2017 -0800
@@ -13,8 +13,9 @@
 from martini.config import ConfigMunger
 from pkg_resources import iter_entry_points
 from pprint import pprint
-from utils import home
-from utils import ip_addresses
+from .utils import home
+from .utils import ip_addresses
+
 
 def make_config(filename):
     # XXX needed?
@@ -22,6 +23,8 @@
 
 
 def read_config(filename):
+    """read configuration `filename`"""
+
     config = ConfigMunger(filename).dict()
 
     ### main configuration