mirror of
https://github.com/openSUSE/osc.git
synced 2025-08-31 02:14:10 +02:00
python3 compatibility: print function
The most visible change in python3 - removal of print statement and all the crufty print >> sys.stderr, foo, The from __future__ import print_function makes it available in python 2.6
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
|
||||
|
||||
from __future__ import print_function
|
||||
|
||||
try:
|
||||
import configparser
|
||||
|
Reference in New Issue
Block a user