[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

extras-buildsys/client buildclient.py,1.7,1.8



Author: dcbw

Update of /cvs/fedora/extras-buildsys/client
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv8262/client

Modified Files:
	buildclient.py 
Log Message:
Mach -> Mock


Index: buildclient.py
===================================================================
RCS file: /cvs/fedora/extras-buildsys/client/buildclient.py,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- buildclient.py	14 Jun 2005 01:16:29 -0000	1.7
+++ buildclient.py	14 Jun 2005 16:41:00 -0000	1.8
@@ -61,7 +61,7 @@
     return urllib.quote(full_url)
 
 
-class BuildClientMach:
+class BuildClientMock:
     """puts things together for an arch - baseclass for handling builds for 
        other arches"""
     def __init__(self, uniqid, target, srpm_url):
@@ -180,47 +180,47 @@
         return False
 
 
-class i386Arch(BuildClientMach):
+class i386Arch(BuildClientMock):
     def __init__(self, uniqid, target, buildarch, srpm_url):
         self.buildroot = '%s-%s-i386-%s' % (CONFIG.get('distro_name'), target, CONFIG.get('repo_name'))
         self.buildarch = buildarch
         self.arch_command = '/usr/bin/setarch i686'
-        BuildClientMach.__init__(self, uniqid, target, srpm_url)
+        BuildClientMock.__init__(self, uniqid, target, srpm_url)
 
-class x86_64Arch(BuildClientMach):
+class x86_64Arch(BuildClientMock):
     def __init__(self, uniqid, target, buildarch, srpm_url):
         self.buildroot = '%s-%s-x86_64-%s' % (CONFIG.get('distro_name'), target, CONFIG.get('repo_name'))
         self.buildarch = buildarch
         self.arch_command = ''
-        BuildClientMach.__init__(self, uniqid, target, srpm_url)
+        BuildClientMock.__init__(self, uniqid, target, srpm_url)
 
-class PPCArch(BuildClientMach):
+class PPCArch(BuildClientMock):
     def __init__(self, uniqid, target, buildarch, srpm_url):
         self.buildroot = '%s-%s-ppc-%s' % (CONFIG.get('distro_name'), target, CONFIG.get('repo_name'))
         self.buildarch = buildarch
         self.arch_command = ''
-        BuildClientMach.__init__(self, uniqid, target, srpm_url)
+        BuildClientMock.__init__(self, uniqid, target, srpm_url)
 
-class PPC64Arch(BuildClientMach):
+class PPC64Arch(BuildClientMock):
     def __init__(self, uniqid, target, buildarch, srpm_url):
         self.buildroot = '%s-%s-ppc64-%s' % (CONFIG.get('distro_name'), target, CONFIG.get('repo_name'))
         self.buildarch = buildarch
         self.arch_command = ''
-        BuildClientMach.__init__(self, uniqid, target, srpm_url)
+        BuildClientMock.__init__(self, uniqid, target, srpm_url)
 
-class SparcArch(BuildClientMach):
+class SparcArch(BuildClientMock):
     def __init__(self, uniqid, target, buildarch, srpm_url):
         self.buildroot = '%s-%s-sparc-%s' % (CONFIG.get('distro_name'), target, CONFIG.get('repo_name'))
         self.buildarch = buildarch
         self.arch_command = '/usr/bin/sparc32'
-        BuildClientMach.__init__(self, uniqid, target, srpm_url)
+        BuildClientMock.__init__(self, uniqid, target, srpm_url)
 
-class Sparc64Arch(BuildClientMach):
+class Sparc64Arch(BuildClientMock):
     def __init__(self, uniqid, target, buildarch, srpm_url):
         self.buildroot = '%s-%s-sparc64-%s' % (CONFIG.get('distro_name'), target, CONFIG.get('repo_name'))
         self.buildarch = buildarch
         self.arch_command = '/usr/bin/sparc64'
-        BuildClientMach.__init__(self, uniqid, target, srpm_url)
+        BuildClientMock.__init__(self, uniqid, target, srpm_url)
 
 # Keep this global scope, used in __main__
 builder_dict = {'i386':     i386Arch,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]