nekohayo / specto

Automatically exported from code.google.com/p/specto
0 stars 0 forks source link

add http:// automatically for web watches #118

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. create a web watch
2. use "example.com" as the url

Traceback (most recent call last):
  File
"/home/jeff/trunks/specto-woutc/spectlib/plugins/watch_web_static.py", line
93, in update
    response = urllib2.urlopen(request)
  File "/usr/lib/python2.5/urllib2.py", line 124, in urlopen
    return _opener.open(url, data)
  File "/usr/lib/python2.5/urllib2.py", line 373, in open
    protocol = req.get_type()
  File "/usr/lib/python2.5/urllib2.py", line 244, in get_type
    raise ValueError, "unknown url type: %s" % self.__original
ValueError: unknown url type: example.com 

Original issue reported on code.google.com by nekoh...@gmail.com on 16 Mar 2008 at 1:00

GoogleCodeExporter commented 9 years ago

Original comment by woutclym...@gmail.com on 16 Mar 2008 at 5:23

GoogleCodeExporter commented 9 years ago

Original comment by nekoh...@gmail.com on 16 Mar 2008 at 6:13