[Python-modules-commits] [gmplot] 01/04: use relative imports
Sandro Tosi
morph at moszumanska.debian.org
Sun Jan 31 18:55:46 UTC 2016
This is an automated email from the git hooks/post-receive script.
morph pushed a commit to branch master
in repository gmplot.
commit 5fd31ca1a4b83fa64f5f5383625fdda8be36ba54
Author: Sandro Tosi <morph at debian.org>
Date: Sun Jan 31 18:46:08 2016 +0000
use relative imports
---
gmplot/__init__.py | 2 +-
gmplot/gmplot.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/gmplot/__init__.py b/gmplot/__init__.py
index 52216be..0acab2a 100644
--- a/gmplot/__init__.py
+++ b/gmplot/__init__.py
@@ -1 +1 @@
-from gmplot import GoogleMapPlotter
\ No newline at end of file
+from .gmplot import GoogleMapPlotter
diff --git a/gmplot/gmplot.py b/gmplot/gmplot.py
index cb80186..a911c7d 100644
--- a/gmplot/gmplot.py
+++ b/gmplot/gmplot.py
@@ -3,7 +3,7 @@ import requests
import json
import os
-from color_dicts import mpl_color_map, html_color_codes
+from .color_dicts import mpl_color_map, html_color_codes
def safe_iter(var):
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/gmplot.git
More information about the Python-modules-commits
mailing list