diff options
author | Dan McGee <dan@archlinux.org> | 2011-01-22 16:28:43 -0600 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-01-22 16:29:32 -0600 |
commit | b3d71bf7d0ef8f577114bc39abecdc7ade0395dd (patch) | |
tree | cef6a085ccf7ef041fd2a5e8b9e3d3fe6b63f39d /test | |
parent | 32727efc38bf5376a402c4c4149cc4148ba2068b (diff) | |
download | pacman-b3d71bf7d0ef8f577114bc39abecdc7ade0395dd.tar.xz |
pactest: use new-style python classes
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'test')
-rwxr-xr-x | test/pacman/pmdb.py | 2 | ||||
-rwxr-xr-x | test/pacman/pmenv.py | 2 | ||||
-rwxr-xr-x | test/pacman/pmfile.py | 2 | ||||
-rwxr-xr-x | test/pacman/pmpkg.py | 2 | ||||
-rwxr-xr-x | test/pacman/pmrule.py | 2 | ||||
-rwxr-xr-x | test/pacman/pmtest.py | 2 |
6 files changed, 6 insertions, 6 deletions
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 """ |