Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-01-22 16:28:43 -0600
committerDan McGee <dan@archlinux.org>2011-01-22 16:29:32 -0600
commitb3d71bf7d0ef8f577114bc39abecdc7ade0395dd (patch)
treecef6a085ccf7ef041fd2a5e8b9e3d3fe6b63f39d /test
parent32727efc38bf5376a402c4c4149cc4148ba2068b (diff)
pactest: use new-style python classes
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'test')
-rwxr-xr-xtest/pacman/pmdb.py2
-rwxr-xr-xtest/pacman/pmenv.py2
-rwxr-xr-xtest/pacman/pmfile.py2
-rwxr-xr-xtest/pacman/pmpkg.py2
-rwxr-xr-xtest/pacman/pmrule.py2
-rwxr-xr-xtest/pacman/pmtest.py2
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
"""