conduit r1302 - in trunk: . conduit/modules/GoogleModule



Author: thomasvm
Date: Tue Feb 12 20:16:55 2008
New Revision: 1302
URL: http://svn.gnome.org/viewvc/conduit?rev=1302&view=rev

Log:
2008-02-13  Thomas Van Machelen <thomas vanmachelen gmail com>:

	* conduit/modules/GoogleModule/GoogleModule.py: don't import urllib2,
	we don't need it anymore


Modified:
   trunk/ChangeLog
   trunk/conduit/modules/GoogleModule/GoogleModule.py

Modified: trunk/conduit/modules/GoogleModule/GoogleModule.py
==============================================================================
--- trunk/conduit/modules/GoogleModule/GoogleModule.py	(original)
+++ trunk/conduit/modules/GoogleModule/GoogleModule.py	Tue Feb 12 20:16:55 2008
@@ -1,7 +1,6 @@
 import gobject
 import datetime
 import dateutil.parser
-import urllib2
 import vobject
 from dateutil.tz import tzutc, tzlocal
 import logging
@@ -835,7 +834,6 @@
         [2] http://www.abdulqabiz.com/blog/archives/general/update_getting_youtu.php
         """
         flv_url = ''
-        doc = urllib2.urlopen(url)
 
         # extract video id
         url_splited = url.split("watch?v=")



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]