1 diff -Nur util-vserver-0.30.216-pre2926.orig/python/libvserver.py util-vserver-0.30.216-pre2926/python/libvserver.py
2 --- util-vserver-0.30.216-pre2926.orig/python/libvserver.py 2010-12-03 02:30:11.000000000 +1100
3 +++ util-vserver-0.30.216-pre2926/python/libvserver.py 2011-01-03 11:38:42.994050243 +1100
6 +#!/usr/bin/python2 -tt
8 # $Id: libvserver.py 2823 2008-11-06 02:18:50Z dhozac $
9 # Copyright (C) 2008 Daniel Hokka Zakrisson
10 diff -Nur util-vserver-0.30.216-pre2926.orig/scripts/vyum-worker util-vserver-0.30.216-pre2926/scripts/vyum-worker
11 --- util-vserver-0.30.216-pre2926.orig/scripts/vyum-worker 2010-12-03 02:30:13.000000000 +1100
12 +++ util-vserver-0.30.216-pre2926/scripts/vyum-worker 2011-01-03 11:38:03.631317691 +1100
17 - python -c "$1" &>/dev/null || {
18 + python2 -c "$1" &>/dev/null || {
20 You are using a version of yum which is insecure and broken in chroot
21 related operations; either apply the patches shipped in the 'contrib/'
26 -case $(python -c "import yum; print yum.__version__" 2>/dev/null) in
27 +case $(python2 -c "import yum; print yum.__version__" 2>/dev/null) in
29 check 'import yum,sys; sys.exit(not hasattr(yum.config.yumconf, "getRootedPath"))'