Hello community, here is the log from the commit of package ski for openSUSE:Factory checked in at 2016-02-24 14:25:48 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ski (Old) and /work/SRC/openSUSE:Factory/.ski.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "ski" Changes: -------- --- /work/SRC/openSUSE:Factory/ski/ski.changes 2016-02-01 19:56:50.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.ski.new/ski.changes 2016-02-24 14:25:49.000000000 +0100 @@ -1,0 +2,7 @@ +Mon Feb 22 08:47:00 UTC 2016 - nemysis@openSUSE.org + +- Update to 6.11, announce message: + + Tweaked to run either on Python2 pr Python3. + +------------------------------------------------------------------- Old: ---- ski-6.10.tar.gz New: ---- ski-6.11.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ski.spec ++++++ --- /var/tmp/diff_new_pack.aapV9s/_old 2016-02-24 14:25:50.000000000 +0100 +++ /var/tmp/diff_new_pack.aapV9s/_new 2016-02-24 14:25:50.000000000 +0100 @@ -17,7 +17,7 @@ Name: ski -Version: 6.10 +Version: 6.11 Release: 0 Summary: Skiing simulation with curses interface in python License: BSD-3-Clause ++++++ ski-6.10.tar.gz -> ski-6.11.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ski-6.10/Makefile new/ski-6.11/Makefile --- old/ski-6.10/Makefile 2015-04-03 12:24:23.000000000 +0200 +++ new/ski-6.11/Makefile 2016-02-18 14:24:59.000000000 +0100 @@ -43,7 +43,7 @@ PYLINTOPTS = --rcfile=/dev/null --reports=n \ --msg-template="{path}:{line}: [{msg_id}({symbol}), {obj}] {msg}" \ --dummy-variables-rgx='^_' -SUPPRESSIONS = "C0103,C0111,C0301,C0325,C0326,C1001,R0902,R0911,R0912,W0621" +SUPPRESSIONS = "C0103,C0111,C0301,C0325,C0326,C0330,C1001,R0902,R0911,R0912,W0621,W0622,W0141" pylint: @pylint $(PYLINTOPTS) --disable=$(SUPPRESSIONS) ski diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ski-6.10/NEWS new/ski-6.11/NEWS --- old/ski-6.10/NEWS 2016-01-27 17:10:06.000000000 +0100 +++ new/ski-6.11/NEWS 2016-02-18 14:27:22.000000000 +0100 @@ -1,6 +1,9 @@ ski project history -6.10: 2016-1-27 +6.11: 2016-02-18 + Tweaked to run either on Python2 pr Python3. + +6.10: 2016-01-27 Ported to Python 3. 6.9: 2015-01-09 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ski-6.10/ski new/ski-6.11/ski --- old/ski-6.10/ski 2016-01-27 17:09:40.000000000 +0100 +++ new/ski-6.11/ski 2016-02-18 14:27:34.000000000 +0100 @@ -1,4 +1,5 @@ -#!/usr/bin/env python3 +#!/usr/bin/env python +# SPDX-License-Identifier: BSD-2-Clause """\ This is ski %s, designed by Mark Stevans, Python port by Eric S. Raymond. You are hurtling down a ski slope in reverse, trying to evade the Yeti. @@ -13,11 +14,12 @@ ? = print this help message. """ -# SPDX-License-Identifier: BSD-2-Clause +# This code runs under both Python 2 and Python 3. Preserve this property! +from __future__ import print_function import time, random, curses, copy, sys, os -version = "6.10" +version = "6.11" REP_SNOW = '.' REP_TREE = 'Y' @@ -463,6 +465,11 @@ # Main sequence if __name__ == "__main__": + try: + input = raw_input + except NameError: + pass + # Initialize the random number generator. random.seed(time.time())