* trailing whitespace cleanups

This commit is contained in:
Faik Uygur
2006-10-30 17:21:31 +00:00
parent c1bb4a2698
commit effe4d5615
56 changed files with 428 additions and 443 deletions
-1
View File
@@ -35,7 +35,6 @@ class LZMAError(pisi.Error):
def __init__(self, err):
pisi.Error.__init__(self, _("An error has occured while running LZMA:\n%s") % err)
class ArchiveBase(object):
"""Base class for Archive classes."""
def __init__(self, file_path, atype):
-1
View File
@@ -579,7 +579,6 @@ class Builder:
self.metadata = metadata
def gen_files_xml(self, package):
"""Generates files.xml using the path definitions in specfile and
the files produced by the build system."""
-4
View File
@@ -495,7 +495,6 @@ to be downloaded from a repository containing sources.
pisi.api.build(x)
self.finalize()
class Emerge(Build):
"""Build and install PiSi source packages from repository
@@ -1042,7 +1041,6 @@ Usage: list-installed
ctx.ui.info('%15s - %s' % (package.name, unicode(package.summary)))
self.finalize()
class RebuildDb(Command):
"""Rebuild Databases
@@ -1287,7 +1285,6 @@ all repositories.
p = p + ' ' * max(0, 15 - lenp)
ctx.ui.info('%s - %s ' % (p, unicode(package.summary)))
class ListComponents(Command):
"""List available components
@@ -1520,7 +1517,6 @@ Finds the installed package which contains the specified file.
default=False, help=_("Show only package name"))
self.parser.add_option_group(group)
# what does exact mean? -- exa
@staticmethod
def search_exact(path):
-1
View File
@@ -132,7 +132,6 @@ class ConfigurationSection(object):
def __getitem__(self, key):
return self.__getattr__(key)
class ConfigurationFile(object):
"""Parse and get configuration values from the configuration file"""
def __init__(self, filePath):
-1
View File
@@ -148,7 +148,6 @@ class File:
self.compress = compress
self.sign = sign
uri = File.make_uri(uri)
if mode==File.read or mode==File.write:
self.mode = mode
-1
View File
@@ -37,7 +37,6 @@ import pisi.specfile as specfile
class Error(pisi.Error):
pass
class Index(XmlFile):
__metaclass__ = autoxml.autoxml
-3
View File
@@ -171,7 +171,6 @@ class Writer(formatter.DumbWriter):
self.col = self.col + len(data)
self.atbreak = 0
class autoxml(oo.autosuper, oo.autoprop):
"""High-level automatic XML transformation interface for xmlfile.
The idea is to declare a class for each XML tag. Inside the
@@ -243,7 +242,6 @@ class autoxml(oo.autosuper, oo.autoprop):
"""
def __init__(cls, name, bases, dict):
"""entry point for metaclass code"""
#print 'generating class', name
@@ -478,7 +476,6 @@ class autoxml(oo.autosuper, oo.autoprop):
cls.write = write
cls.parse = parse
def gen_attr_member(cls, attr):
"""generate readers and writers for an attribute member"""
#print 'attr:', attr
-1
View File
@@ -93,4 +93,3 @@ class Package:
if __name__ == "__main__":
p = Package("w0rmux", [], [], "0.7")
p.version_bump()
-1
View File
@@ -128,7 +128,6 @@ class ComarProvide:
s += ' (' + self.om + ')'
return s
class Archive:
s_uri = [ autoxml.String, autoxml.mandatory ]
-1
View File
@@ -179,7 +179,6 @@ def run_logged(cmd):
return p.returncode
######################
# Terminal functions #
######################