1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-12-26 18:06:13 +01:00
github.com_openSUSE_osc/osc
Michal Vyskocil 87d354e1a0 python3 compatibility: import proper modules
Some modules (httplib, StringIO, ...) were renamed in python3. This
patch try to import the proper symbols from python3 and then fallback to
python2 in a case ImportError will appear.

There is one exception, python 2.7 got the io module with StringIO, but
it allow unicode arguments only. Therefor the old module is poked before
new one.
2013-04-16 10:51:18 +02:00
..
util python3 compatibility: import proper modules 2013-04-16 10:51:18 +02:00
__init__.py add vim mode lines to avoid evil tab characters :-) 2010-02-25 09:53:45 +01:00
.gitignore convert svn:ignore to gitignore 2009-12-03 19:19:53 +01:00
babysitter.py python3 compatibility: import proper modules 2013-04-16 10:51:18 +02:00
build.py python3 compatibility: import proper modules 2013-04-16 10:51:18 +02:00
checker.py python3 compatibility: except 2013-04-16 10:51:17 +02:00
cmdln.py python3 compatibility: idioms 2013-04-16 10:51:18 +02:00
commandline.py python3 compatibility: import proper modules 2013-04-16 10:51:18 +02:00
conf.py python3 compatibility: import proper modules 2013-04-16 10:51:18 +02:00
core.py python3 compatibility: import proper modules 2013-04-16 10:51:18 +02:00
fetch.py python3 compatibility: use relative imports 2013-04-16 10:51:18 +02:00
meter.py - meter.py: reduced status bar (this one is used if there's no Content-Length header) 2010-09-09 14:58:33 +02:00
OscConfigParser.py python3 compatibility: import proper modules 2013-04-16 10:51:18 +02:00
oscerr.py - handle errors of source service runs 2011-05-24 10:49:08 +02:00
oscssl.py python3 compatibility: import proper modules 2013-04-16 10:51:18 +02:00
oscsslexcp.py - remove shebang line to make rpmlint happy 2010-03-21 22:57:06 +01:00