From b3d71bf7d0ef8f577114bc39abecdc7ade0395dd Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Sat, 22 Jan 2011 16:28:43 -0600 Subject: pactest: use new-style python classes Signed-off-by: Dan McGee --- test/pacman/pmdb.py | 2 +- test/pacman/pmenv.py | 2 +- test/pacman/pmfile.py | 2 +- test/pacman/pmpkg.py | 2 +- test/pacman/pmrule.py | 2 +- test/pacman/pmtest.py | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) (limited to 'test') diff --git a/test/pacman/pmdb.py b/test/pacman/pmdb.py index bb5aab92..b31498a7 100755 --- a/test/pacman/pmdb.py +++ b/test/pacman/pmdb.py @@ -72,7 +72,7 @@ def _mksection(title, data): "%s\n" % (title, s) -class pmdb: +class pmdb(object): """Database object """ diff --git a/test/pacman/pmenv.py b/test/pacman/pmenv.py index 5b61de2c..40444829 100755 --- a/test/pacman/pmenv.py +++ b/test/pacman/pmenv.py @@ -22,7 +22,7 @@ import os.path import pmtest -class pmenv: +class pmenv(object): """Environment object """ diff --git a/test/pacman/pmfile.py b/test/pacman/pmfile.py index 6770bca8..bd03a24e 100755 --- a/test/pacman/pmfile.py +++ b/test/pacman/pmfile.py @@ -20,7 +20,7 @@ import os import util -class pmfile: +class pmfile(object): """File object """ diff --git a/test/pacman/pmpkg.py b/test/pacman/pmpkg.py index 336f2974..73156ab2 100755 --- a/test/pacman/pmpkg.py +++ b/test/pacman/pmpkg.py @@ -24,7 +24,7 @@ import tarfile import util -class pmpkg: +class pmpkg(object): """Package object. Object holding data from an ArchLinux package. diff --git a/test/pacman/pmrule.py b/test/pacman/pmrule.py index 3ba72fe7..c6412aa4 100755 --- a/test/pacman/pmrule.py +++ b/test/pacman/pmrule.py @@ -20,7 +20,7 @@ import stat import util -class pmrule: +class pmrule(object): """Rule object """ diff --git a/test/pacman/pmtest.py b/test/pacman/pmtest.py index 31517a9a..4f3b122f 100755 --- a/test/pacman/pmtest.py +++ b/test/pacman/pmtest.py @@ -28,7 +28,7 @@ import pmfile import util from util import vprint -class pmtest: +class pmtest(object): """Test object """ -- cgit v1.2.3-70-g09d2