Author: poeml Date: Tue Dec 22 01:48:55 2009 New Revision: 7935 URL: http://svn.mirrorbrain.org/viewvc/mirrorbrain?rev=7935&view=rev Log: mb new: - fix stupid error in the detection of the best GeoIP database. A forgotten 'break' caused the least preferable database to be chosen. Modified: trunk/mirrordoctor/mb/geoip.py Modified: trunk/mirrordoctor/mb/geoip.py URL: http://svn.mirrorbrain.org/viewvc/mirrorbrain/trunk/mirrordoctor/mb/geoip.py?rev=7935&r1=7934&r2=7935&view=diff ============================================================================== --- trunk/mirrordoctor/mb/geoip.py (original) +++ trunk/mirrordoctor/mb/geoip.py Tue Dec 22 01:48:55 2009 @@ -16,6 +16,7 @@ for i in databases: if os.path.exists(i): database = i + break def lookup_country_code(addr): _______________________________________________ mirrorbrain-commits mailing list Archive: http://mirrorbrain.org/archive/mirrorbrain-commits/ Note: To remove yourself from this list, send a mail with the content unsubscribe to the address mirrorbrain-commits-request_at_mirrorbrain.orgReceived on Tue Dec 22 2009 - 00:48:57 GMT
This archive was generated by hypermail 2.2.0 : Tue Dec 22 2009 - 01:17:06 GMT