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:
parent
32727efc38
commit
b3d71bf7d0
@ -72,7 +72,7 @@ def _mksection(title, data):
|
||||
"%s\n" % (title, s)
|
||||
|
||||
|
||||
class pmdb:
|
||||
class pmdb(object):
|
||||
"""Database object
|
||||
"""
|
||||
|
||||
|
@ -22,7 +22,7 @@ import os.path
|
||||
import pmtest
|
||||
|
||||
|
||||
class pmenv:
|
||||
class pmenv(object):
|
||||
"""Environment object
|
||||
"""
|
||||
|
||||
|
@ -20,7 +20,7 @@ import os
|
||||
|
||||
import util
|
||||
|
||||
class pmfile:
|
||||
class pmfile(object):
|
||||
"""File object
|
||||
"""
|
||||
|
||||
|
@ -24,7 +24,7 @@ import tarfile
|
||||
|
||||
import util
|
||||
|
||||
class pmpkg:
|
||||
class pmpkg(object):
|
||||
"""Package object.
|
||||
|
||||
Object holding data from an ArchLinux package.
|
||||
|
@ -20,7 +20,7 @@ import stat
|
||||
|
||||
import util
|
||||
|
||||
class pmrule:
|
||||
class pmrule(object):
|
||||
"""Rule object
|
||||
"""
|
||||
|
||||
|
@ -28,7 +28,7 @@ import pmfile
|
||||
import util
|
||||
from util import vprint
|
||||
|
||||
class pmtest:
|
||||
class pmtest(object):
|
||||
"""Test object
|
||||
"""
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user