diff options
author | Radostin Stoyanov <rstoyanov1@gmail.com> | 2017-04-13 15:06:30 +0100 |
---|---|---|
committer | Cédric Bosdonnat <cbosdonnat@suse.com> | 2017-04-14 10:28:56 +0200 |
commit | f930f38143ab2dc5fd4b570f3a7bcf599ed9b344 (patch) | |
tree | 19044e7a6334aac41d54fcf70e8b42f28512f1a7 /sources.py | |
parent | 2029673ce7febf2e2e42a8226828648494440963 (diff) | |
download | virt-bootstrap.git-f930f38143ab2dc5fd4b570f3a7bcf599ed9b344.tar.gz virt-bootstrap.git-f930f38143ab2dc5fd4b570f3a7bcf599ed9b344.tar.xz virt-bootstrap.git-f930f38143ab2dc5fd4b570f3a7bcf599ed9b344.zip |
Python 3/2 compatibility: exceptions handling
Examine an exception during exception handling in Python3
is done with 'as' instead of comma.
This approach works in Python2 as well.
https://wiki.python.org/moin/HandlingExceptions
Diffstat (limited to 'sources.py')
0 files changed, 0 insertions, 0 deletions