[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Maposmatic-dev] [PATCH 5/6] street_index: reorganize imports
From: |
thomas . petazzoni |
Subject: |
[Maposmatic-dev] [PATCH 5/6] street_index: reorganize imports |
Date: |
Wed, 24 Feb 2010 08:46:45 +0100 |
From: Thomas Petazzoni <address@hidden>
One per-line, sorted alphabetically. We keep imports of standard
Python modules separated from imports of OCitySMap specific modules.
Signed-off-by: Thomas Petazzoni <address@hidden>
---
ocitysmap/street_index.py | 24 +++++++++++++++++++-----
1 files changed, 19 insertions(+), 5 deletions(-)
diff --git a/ocitysmap/street_index.py b/ocitysmap/street_index.py
index 35a3250..c661831 100644
--- a/ocitysmap/street_index.py
+++ b/ocitysmap/street_index.py
@@ -21,14 +21,28 @@
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-import logging, traceback
-import sys, os, tempfile, psycopg2, re, math, cairo, locale, gzip, csv, pango,
pangocairo
+import cairo
import ConfigParser
+import csv
+import gzip
+import locale
+import logging
+import math
+import os
+import pango
+import pangocairo
+import psycopg2
+import re
+import sys
+import tempfile
+import traceback
+
+import grid
import i18n
-from coords import BoundingBox
-
-import map_canvas, grid, utils
+import map_canvas
+import utils
+from coords import BoundingBox
from draw_utils import enclose_in_frame
import psycopg2.extensions
--
1.6.3.3
[Maposmatic-dev] [PATCH 1/6] Use Pango to render the text for the index, thomas . petazzoni, 2010/02/24
[Maposmatic-dev] [PATCH 6/6] Add python-gtk2 and python-cairo as dependencies, thomas . petazzoni, 2010/02/24
[Maposmatic-dev] [PATCH 3/6] Use Pango to draw the index and map titles, thomas . petazzoni, 2010/02/24
[Maposmatic-dev] [PATCH 5/6] street_index: reorganize imports,
thomas . petazzoni <=
Re: [Maposmatic-dev] Pango text rendering + RTL support, Maxime Petazzoni, 2010/02/24