Re: [libvirt-python 1/3] setup: Drop unused exception variable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Dec 04, 2013 at 02:34:06PM -0600, Doug Goldstein wrote:
> Drop the unused exception variable in setup.py. This has the benefit
> of dropping syntax that is not valid with Python 3.
> ---
>  setup.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/setup.py b/setup.py
> index 561157c..24d4cf2 100755
> --- a/setup.py
> +++ b/setup.py
> @@ -40,7 +40,7 @@ try:
>      spawn([pkgcfg,
>             "--atleast-version=%s" % MIN_LIBVIRT_LXC,
>           "libvirt"])
> -except DistutilsExecError,e:
> +except DistutilsExecError:
>      have_libvirt_lxc=False
>  
>  def get_pkgconfig_data(args, mod, required=True):

ACK

Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]