1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-11-12 12:25:02 -05:00

pactest: use new-style python classes

Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
Dan McGee 2011-01-22 16:28:43 -06:00
parent 32727efc38
commit b3d71bf7d0
6 changed files with 6 additions and 6 deletions

View File

@ -72,7 +72,7 @@ def _mksection(title, data):
"%s\n" % (title, s)
class pmdb:
class pmdb(object):
"""Database object
"""

View File

@ -22,7 +22,7 @@ import os.path
import pmtest
class pmenv:
class pmenv(object):
"""Environment object
"""

View File

@ -20,7 +20,7 @@ import os
import util
class pmfile:
class pmfile(object):
"""File object
"""

View File

@ -24,7 +24,7 @@ import tarfile
import util
class pmpkg:
class pmpkg(object):
"""Package object.
Object holding data from an ArchLinux package.

View File

@ -20,7 +20,7 @@ import stat
import util
class pmrule:
class pmrule(object):
"""Rule object
"""

View File

@ -28,7 +28,7 @@ import pmfile
import util
from util import vprint
class pmtest:
class pmtest(object):
"""Test object
"""