[Merge] lp:~muktupavels/unity/python3 into lp:unity
Dmitry Shachnev
mitya57 at gmail.com
Fri Aug 24 15:01:30 UTC 2018
Diff comments:
>
> === modified file 'tools/unity-introspection-visualiser.py'
> --- tools/unity-introspection-visualiser.py 2012-03-12 00:29:45 +0000
> +++ tools/unity-introspection-visualiser.py 2018-08-24 14:57:57 +0000
> @@ -9,16 +9,16 @@
>
> try:
> from autopilot.emulators.unity import get_state_by_path
> -except ImportError, e:
> - print "Error: could not import the autopilot python module."
> - print "Make sure the autopilot module is in your $PYTHONPATH."
> +except ImportError as e:
> + print("Error: could not import the autopilot python module.")
> + print("Make sure the autopilot module is in your $PYTHONPATH.")
> exit(1)
>
> try:
> import pydot
> except ImportError:
> - print "Error: the 'pydot' module is required to run this script."
> - print "Try installing the 'python-pydot' package."
> + print("Error: the 'pydot' module is required to run this script.")
> + print("Try installing the 'python-pydot' package.")
Maybe change this suggestion to python3-pydot?
> exit(1)
>
> NEXT_NODE_ID=1
--
https://code.launchpad.net/~muktupavels/unity/python3/+merge/353708
Your team Unity Team is subscribed to branch lp:unity.
More information about the Ubuntu-reviews
mailing list