[Python-modules-commits] r24927 - in packages/geopy/trunk/debian (3 files)

eriol-guest at users.alioth.debian.org eriol-guest at users.alioth.debian.org
Sun Jun 23 17:22:09 UTC 2013


    Date: Sunday, June 23, 2013 @ 17:22:08
  Author: eriol-guest
Revision: 24927

Fix missing imports

Added:
  packages/geopy/trunk/debian/patches/02_fix_missing_imports.patch
Modified:
  packages/geopy/trunk/debian/changelog
  packages/geopy/trunk/debian/patches/series

Modified: packages/geopy/trunk/debian/changelog
===================================================================
--- packages/geopy/trunk/debian/changelog	2013-06-23 16:57:46 UTC (rev 24926)
+++ packages/geopy/trunk/debian/changelog	2013-06-23 17:22:08 UTC (rev 24927)
@@ -17,10 +17,12 @@
     - Added python3-geopy stanza
   * debian/patches/01_add_missing_test_file.patch
     - Added missing file required by unittests
+  * debian/patches/02_fix_missing_imports.patch
+    - Fix missing imports
   * debian/rules
     - Reworked for Python3 package
 
- -- Daniele Tricoli <eriol at mornie.org>  Sun, 23 Jun 2013 06:55:05 +0200
+ -- Daniele Tricoli <eriol at mornie.org>  Sun, 23 Jun 2013 19:17:31 +0200
 
 geopy (0.94.2-1) unstable; urgency=low
 

Added: packages/geopy/trunk/debian/patches/02_fix_missing_imports.patch
===================================================================
--- packages/geopy/trunk/debian/patches/02_fix_missing_imports.patch	                        (rev 0)
+++ packages/geopy/trunk/debian/patches/02_fix_missing_imports.patch	2013-06-23 17:22:08 UTC (rev 24927)
@@ -0,0 +1,23 @@
+Description: Fix missing imports.
+Author: Daniele Tricoli <eriol at mornie.org>
+Last-Update: 2013-06-13
+
+--- a/geopy/geocoders/wiki_gis.py
++++ b/geopy/geocoders/wiki_gis.py
+@@ -3,6 +3,8 @@
+ import xml
+ from xml.parsers.expat import ExpatError
+ 
++from BeautifulSoup import BeautifulSoup
++
+ from geopy.geocoders.base import Geocoder,GeocoderError,GeocoderResultError
+ from geopy import Point, Location, util
+ 
+--- a/geopy/geocoders/wiki_semantic.py
++++ b/geopy/geocoders/wiki_semantic.py
+@@ -1,4 +1,5 @@
+ import xml.dom.minidom
++from urllib2 import urlopen
+ from geopy.geocoders.base import Geocoder
+ from geopy.point import Point
+ from geopy.location import Location

Modified: packages/geopy/trunk/debian/patches/series
===================================================================
--- packages/geopy/trunk/debian/patches/series	2013-06-23 16:57:46 UTC (rev 24926)
+++ packages/geopy/trunk/debian/patches/series	2013-06-23 17:22:08 UTC (rev 24927)
@@ -1 +1,2 @@
 01_add_missing_test_file.patch
+02_fix_missing_imports.patch




More information about the Python-modules-commits mailing list