Vadim Yanitskiy
e0202abcc1
libgsmhr/fetch_sources.py: convert to Python 3
...
* Use https://docs.python.org/3/library/logging.html
** Add more logging, use DEBUG by default
* Use https://docs.python.org/3/library/urllib.request.html
** Do not send custom HTTP headers (not needed anymore)
* Use https://docs.python.org/3/library/io.html
Change-Id: I05d25343b4453550ab07b948cfaa1048b0f58067
Related: OS#3400
2022-12-06 04:04:03 +07:00
Vadim Yanitskiy
48e0acdbe6
libgsmhr/fetch_sources.py: fix source code downloading
...
For some reason, the 3GPP server started to reject the source
code download request:
urllib2.HTTPError: HTTP Error 403: Forbidden
Adding both 'User-Agent' and 'Accept' headers solves the problem.
Change-Id: I8afd39c85dd3e450c5355888ab6edcf4c81f8b87
2018-07-03 15:24:37 +00:00
Sylvain Munaut
8966846f3e
libgsmhr/fetch_sources: Only use the filename and not any path
...
There shouldn't be any but somebody might be nasty :p
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2015-12-30 11:44:37 +01:00
Sylvain Munaut
8b5e0c7b81
libgsmhr: Update source location
...
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2013-12-13 15:41:07 +01:00
Sylvain Munaut
aa55d30d20
[2/4] HR support: Add logic to fetch reference source code and build it
...
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2010-11-12 20:47:30 +01:00